From 0ab6aeb0ef329a1953fa42cf07c3a7a5e20d6202 Mon Sep 17 00:00:00 2001 From: Fine Date: Thu, 22 Aug 2024 11:28:08 +0800 Subject: [PATCH] fix: warnings --- src/hooks/useExpressionsProcessor.ts | 1 - src/views/dashboard/controls/Tab.vue | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/hooks/useExpressionsProcessor.ts b/src/hooks/useExpressionsProcessor.ts index c0a951a6..52d98d4c 100644 --- a/src/hooks/useExpressionsProcessor.ts +++ b/src/hooks/useExpressionsProcessor.ts @@ -29,7 +29,6 @@ export async function useDashboardQueryProcessor(configArr: Indexable[]) { if (!(config.metrics && config.metrics[0])) { return; } - const appStore = useAppStoreWithOut(); const dashboardStore = useDashboardStore(); const selectorStore = useSelectorStore(); diff --git a/src/views/dashboard/controls/Tab.vue b/src/views/dashboard/controls/Tab.vue index aaf0a113..2a7fdd00 100644 --- a/src/views/dashboard/controls/Tab.vue +++ b/src/views/dashboard/controls/Tab.vue @@ -128,7 +128,7 @@ limitations under the License. --> import type { LayoutConfig } from "@/types/dashboard"; import { useDashboardStore } from "@/store/modules/dashboard"; import controls from "./tab"; - import { dragIgnoreFrom, ListChartTypes, WidgetType } from "../data"; + import { dragIgnoreFrom, WidgetType } from "../data"; import copy from "@/utils/copy"; import { useDashboardQueryProcessor } from "@/hooks/useExpressionsProcessor";