From 8ab1ae3641fdd81f54aff0ad111d197886701128 Mon Sep 17 00:00:00 2001 From: Peter Olu Date: Thu, 12 May 2022 13:26:36 +0100 Subject: [PATCH] made keywords selection dependent on a computed value from logstore --- src/store/modules/log.ts | 2 +- src/views/dashboard/related/log/Header.vue | 19 +++++++++++++------ 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/src/store/modules/log.ts b/src/store/modules/log.ts index 39a3431b..b9934976 100644 --- a/src/store/modules/log.ts +++ b/src/store/modules/log.ts @@ -47,7 +47,7 @@ export const logStore = defineStore({ queryDuration: useAppStoreWithOut().durationTime, paging: { pageNum: 1, pageSize: 15, needTotal: true }, }, - supportQueryLogsByKeywords: false, + supportQueryLogsByKeywords: true, durationTime: useAppStoreWithOut().durationTime, selectorStore: useSelectorStore(), logs: [], diff --git a/src/views/dashboard/related/log/Header.vue b/src/views/dashboard/related/log/Header.vue index 98ed26a8..81cf8a5d 100644 --- a/src/views/dashboard/related/log/Header.vue +++ b/src/views/dashboard/related/log/Header.vue @@ -122,7 +122,7 @@ limitations under the License. -->
@@ -148,7 +148,7 @@ limitations under the License. -->
{{ t("excludingKeywordsOfContent") }}: @@ -201,7 +201,7 @@ limitations under the License. -->