diff --git a/orion-visor-ui/src/store/modules/app/types.ts b/orion-visor-ui/src/store/modules/app/types.ts index f628b8cc..82ac0616 100644 --- a/orion-visor-ui/src/store/modules/app/types.ts +++ b/orion-visor-ui/src/store/modules/app/types.ts @@ -5,7 +5,7 @@ type ViewType = 'table' | 'card' | undefined; /** * 应用状态 */ -export interface AppState extends AppSetting, UserPreferenceLayout, UserPreferenceData, UserPreferenceViews { +export interface AppState extends AppSetting, UserPreferenceLayout, UserPreferenceData, UserPreferenceView { [key: string]: unknown; } @@ -43,7 +43,7 @@ export interface UserPreferenceData { /** * 用户偏好 - 页面视图 */ -export interface UserPreferenceViews { +export interface UserPreferenceView { hostView: ViewType; hostKeyView: ViewType; hostIdentityView: ViewType; diff --git a/orion-visor-ui/src/views/host/command-snippet/components/command-snippet-drawer.vue b/orion-visor-ui/src/views/host/terminal/components/command-snippet/command-snippet-drawer.vue similarity index 97% rename from orion-visor-ui/src/views/host/command-snippet/components/command-snippet-drawer.vue rename to orion-visor-ui/src/views/host/terminal/components/command-snippet/command-snippet-drawer.vue index 26dbba7c..798921ba 100644 --- a/orion-visor-ui/src/views/host/command-snippet/components/command-snippet-drawer.vue +++ b/orion-visor-ui/src/views/host/terminal/components/command-snippet/command-snippet-drawer.vue @@ -76,15 +76,15 @@