style: 采用 import type 语法导入类型

This commit is contained in:
pany
2022-09-13 14:26:08 +08:00
parent dbbb85fef3
commit bd6a018aab
2 changed files with 3 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
<script lang="ts" setup>
import { computed, PropType } from "vue"
import { computed } from "vue"
import type { PropType } from "vue"
import type { RouteRecordRaw } from "vue-router"
import SidebarItemLink from "./SidebarItemLink.vue"
import { isExternal } from "@/utils/validate"