init
This commit is contained in:
5
admin/typings/index.d.ts
vendored
Normal file
5
admin/typings/index.d.ts
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
declare module 'vue3-video-play'
|
||||
|
||||
declare module 'css-color-function'
|
||||
|
||||
type PromiseFun = (...arg: any[]) => Promise<any>
|
14
admin/typings/router.d.ts
vendored
Normal file
14
admin/typings/router.d.ts
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
import 'vue-router'
|
||||
declare module 'vue-router' {
|
||||
// 扩展 RouteMeta
|
||||
interface RouteMeta {
|
||||
type?: string
|
||||
perms?: string
|
||||
title?: string
|
||||
icon?: string
|
||||
hidden?: boolean
|
||||
activeMenu?: string
|
||||
hideTab?: boolean
|
||||
keepAlive?: boolean
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user