feat(projects): 添加多页签风格:按钮和浏览器两种风格

This commit is contained in:
Soybean
2021-09-20 02:48:53 +08:00
parent 03ebd49c86
commit 3cfa0f103c
40 changed files with 601 additions and 167 deletions

15
src/typings/window.d.ts vendored Normal file
View File

@@ -0,0 +1,15 @@
import type {
LoadingBarProviderInst,
DialogProviderInst,
MessageProviderInst,
NotificationProviderInst
} from 'naive-ui';
declare global {
interface Window {
$loadingBar?: LoadingBarProviderInst;
$dialog?: DialogProviderInst;
$message?: MessageProviderInst;
$notification?: NotificationProviderInst;
}
}