refactor: 移除defineEmits和defineProps内置宏的引入
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import {defineEmits, ref} from "vue";
|
||||
import { ref} from "vue";
|
||||
import SvgIcon from '@/components/SvgIcon/index.vue';
|
||||
|
||||
let icons = []
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import {computed,defineProps,defineEmits} from "vue";
|
||||
import {computed} from "vue";
|
||||
import {scrollTo} from '@/utils/scroll-to'
|
||||
|
||||
const props=defineProps({
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import {defineEmits, ref, getCurrentInstance ,nextTick,onMounted,computed,watch} from "vue";
|
||||
import {ref, getCurrentInstance ,nextTick,onMounted,computed,watch} from "vue";
|
||||
const { proxy } = getCurrentInstance();
|
||||
|
||||
const state = defineProps({
|
||||
|
||||
Reference in New Issue
Block a user