feat: 动态注册组件,优化首页出现性能

This commit is contained in:
MTrun
2022-02-25 22:10:18 +08:00
parent 211e7b08c4
commit f8095ca52a
5 changed files with 18 additions and 16 deletions

2
types/global.d.ts vendored
View File

@@ -2,7 +2,9 @@ interface Window {
$loading: any
$message: any
$dialog: any
// 语言
$t: any
$vue: any
}
declare type Recordable<T = any> = Record<string, T>