1. 设备详情拆分
2. 修改bug
3. logo ico
This commit is contained in:
Zy
2026-10-21 17:05:14 +08:00
parent eeb842d278
commit 485759747c
16 changed files with 417 additions and 325 deletions

12
src/types/env.d.ts vendored
View File

@@ -1,3 +1,15 @@
import type {Directive} from 'vue'
export {}
// 👉 扩展 Vue 内置全局指令类型
declare module 'vue' {
export interface GlobalDirectives {
// 注意:必须带 v 前缀,和模板里一模一样
vHasPermi: Directive<HTMLElement, string[]>
vHasPermiAnd: Directive<HTMLElement, string[]>
}
}
declare module '*.vue' {
import {DefineComponent} from 'vue';
const Component: DefineComponent<{}, {}, any>;