refactor(SidebarItem.vue): 移除defineEmits和defineProps内置宏的多余引用

This commit is contained in:
郝先瑞
2022-01-01 16:15:43 +08:00
parent 901379273a
commit a7a6f4903b

View File

@@ -32,8 +32,8 @@
<script setup lang="ts"> <script setup lang="ts">
import path from 'path-browserify' import path from 'path-browserify'
import {defineProps, PropType, computed, ref} from "vue"; import {PropType, ref} from "vue";
import {isExternal} from '@utils/validate' import {isExternal} from '@/utils/validate'
import AppLink from './Link.vue' import AppLink from './Link.vue'
import SvgIcon from '@/components/SvgIcon/index.vue'; import SvgIcon from '@/components/SvgIcon/index.vue';
import {RouteRecordRaw} from "vue-router"; import {RouteRecordRaw} from "vue-router";