From f031944f71eec840df4e899a2a6240ec19b762ae Mon Sep 17 00:00:00 2001 From: Qiuxia Fan Date: Wed, 25 May 2022 16:05:03 +0800 Subject: [PATCH] update style --- src/store/modules/demand-log.ts | 4 ++-- src/types/demand-log.ts | 2 +- src/views/dashboard/controls/DemandLog.vue | 8 +------- src/views/dashboard/related/demand-log/Content.vue | 14 +++++++++----- 4 files changed, 13 insertions(+), 15 deletions(-) diff --git a/src/store/modules/demand-log.ts b/src/store/modules/demand-log.ts index 002860a6..0303157a 100644 --- a/src/store/modules/demand-log.ts +++ b/src/store/modules/demand-log.ts @@ -22,14 +22,14 @@ import graphql from "@/graphql"; import { AxiosResponse } from "axios"; import { useAppStoreWithOut } from "@/store/modules/app"; import { useSelectorStore } from "@/store/modules/selectors"; -import { Conditions, DemandLog } from "@/types/demand-log"; +import { Conditions, Log } from "@/types/demand-log"; interface DemandLogState { containers: Instance[]; instances: Instance[]; conditions: Conditions; selectorStore: any; - logs: DemandLog[]; + logs: Log[]; loadLogs: boolean; namespaces: Option[]; } diff --git a/src/types/demand-log.ts b/src/types/demand-log.ts index 7559949c..8ed1a43e 100644 --- a/src/types/demand-log.ts +++ b/src/types/demand-log.ts @@ -27,7 +27,7 @@ export interface Conditions { excludingKeywordsOfContent?: string; } -export interface DemandLog { +export interface Log { content: string; timestamp: number; contentType: string; diff --git a/src/views/dashboard/controls/DemandLog.vue b/src/views/dashboard/controls/DemandLog.vue index f60426e1..543bad00 100644 --- a/src/views/dashboard/controls/DemandLog.vue +++ b/src/views/dashboard/controls/DemandLog.vue @@ -32,9 +32,7 @@ limitations under the License. -->
-
- -
+