mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
feat(projects): 添加多页签风格:按钮和浏览器两种风格
This commit is contained in:
6
src/typings/shims-vue.d.ts
vendored
Normal file
6
src/typings/shims-vue.d.ts
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
declare module '*.vue' {
|
||||
import { DefineComponent } from 'vue';
|
||||
|
||||
const component: DefineComponent<{}, {}, any>;
|
||||
export default component;
|
||||
}
|
1
src/typings/vite-env.d.ts
vendored
Normal file
1
src/typings/vite-env.d.ts
vendored
Normal file
@ -0,0 +1 @@
|
||||
/// <reference types="vite/client" />
|
15
src/typings/window.d.ts
vendored
Normal file
15
src/typings/window.d.ts
vendored
Normal 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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user