mirror of
https://github.com/un-pany/v3-admin-vite.git
synced 2025-04-21 11:29:20 +08:00
style: 采用 import type 语法导入类型
This commit is contained in:
parent
dbbb85fef3
commit
bd6a018aab
@ -1,4 +1,4 @@
|
||||
import { Directive } from "vue"
|
||||
import type { Directive } from "vue"
|
||||
import { useUserStoreHook } from "@/store/modules/user"
|
||||
|
||||
/** 权限指令 */
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user