卡片结构
This commit is contained in:
@@ -16,9 +16,9 @@ const defaultConfig: AppState = {
|
||||
menuWidth: 220,
|
||||
colorWeak: false,
|
||||
// 用户偏好-页面视图
|
||||
host: 'table',
|
||||
hostKeys: 'table',
|
||||
hostIdentity: 'table',
|
||||
hostView: 'table',
|
||||
hostKeyView: 'table',
|
||||
hostIdentityView: 'table',
|
||||
};
|
||||
|
||||
export default defineStore('app', {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
export type Theme = 'light' | 'dark'
|
||||
export type Device = 'desktop' | 'mobile'
|
||||
export type ViewType = 'table' | 'card'
|
||||
export type ViewType = 'table' | 'card' | undefined
|
||||
|
||||
/**
|
||||
* 应用状态
|
||||
@@ -36,7 +36,7 @@ export interface UserPreferenceLayout {
|
||||
* 用户偏好 - 页面视图
|
||||
*/
|
||||
export interface UserPreferenceViews {
|
||||
host: ViewType | string;
|
||||
hostKeys: ViewType | string;
|
||||
hostIdentity: ViewType | string;
|
||||
hostView: ViewType;
|
||||
hostKeyView: ViewType;
|
||||
hostIdentityView: ViewType;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user