contextMenu.vue 699 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <template>
  2. <div>
  3. <myContextMenu @operateDirectory="getMethod"></myContextMenu>
  4. </div>
  5. </template>
  6. <script>
  7. export default {
  8. components: {},
  9. props: {},
  10. data() {
  11. return {
  12. };
  13. },
  14. watch: {},
  15. computed: {},
  16. created() {},
  17. mounted() {},
  18. methods: {
  19. getMethod(type){
  20. if(this[type]){
  21. this[type]()
  22. }
  23. },
  24. //波浪线
  25. wave(){
  26. },
  27. //下划线
  28. underscore(){
  29. },
  30. //高亮
  31. highlight(){
  32. },
  33. //批注
  34. mark(){
  35. },
  36. //修改颜色
  37. changeColor(){
  38. },
  39. //对比
  40. contrast(){
  41. },
  42. //删除批注
  43. deleteMark(){
  44. },
  45. },
  46. };
  47. </script>
  48. <style lang="scss" scoped>
  49. </style>