1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- /*
- * @FilePath: store.d.ts
- * @Author: 旭颖
- * @Date: 2022-10-31 14:56:49
- * @LastEditors: Please set LastEditors
- * @LastEditTime: 2023-07-01 16:18:38
- */
- import { VabRouteMeta, VabRouteRecord } from '/#/router'
- declare interface AclModuleType {
- admin: boolean
- role: string[]
- permission: string[]
- }
- declare interface ErrorLogModuleType {
- errorLogs: any[]
- }
- declare interface RoutesModuleType {
- tab: {
- data: string | undefined
- }
- tabMenu: string | undefined
- activeMenu: {
- data: string | undefined
- }
- routes: VabRouteRecord[]
- }
- declare type DeviceType = 'mobile' | 'desktop'
- declare type LanguageType = 'zh' | 'en'
- declare interface SettingsModuleType {
- theme: ThemeType
- device: DeviceType
- collapse: boolean
- language: LanguageType
- lock: boolean
- logo: string
- title: string
- echartsGraphic1: string[]
- echartsGraphic2: string[]
- }
- declare interface TabsModuleType {
- visitedRoutes: VabRouteRecord[]
- }
- declare interface OptionType {
- name?: string
- title?: string
- meta: VabRouteMeta
- }
- declare interface UserModuleType {
- token: string | boolean
- username: string
- avatar: string
- department: any
- id: string
- }
|