12345678910111213141516171819202122232425262728 |
- <template>
- <div class="context-menu-tool">
- 右键菜单
- <div>{{data}}</div>
- </div>
- </template>
- <script setup lang="ts">
- import {getCurrentInstance, reactive, ref} from "vue";
- const emits = defineEmits([])
- const props = defineProps({
- data: {}
- })
- const {proxy}: any = getCurrentInstance()
- const state: any = reactive({
- })
- </script>
- <style lang="scss" scoped>
- .context-menu-tool {
- padding: 10px;
- background-color: #ffffff;
- border: 1px solid rgba(0, 0, 0, 0.1);
- border-radius: 10px;
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
- }
- </style>
|