fix: warnings

This commit is contained in:
Fine 2024-08-22 11:28:08 +08:00
parent f5e3e96256
commit 0ab6aeb0ef
2 changed files with 1 additions and 2 deletions

View File

@ -29,7 +29,6 @@ export async function useDashboardQueryProcessor(configArr: Indexable[]) {
if (!(config.metrics && config.metrics[0])) { if (!(config.metrics && config.metrics[0])) {
return; return;
} }
const appStore = useAppStoreWithOut();
const dashboardStore = useDashboardStore(); const dashboardStore = useDashboardStore();
const selectorStore = useSelectorStore(); const selectorStore = useSelectorStore();

View File

@ -128,7 +128,7 @@ limitations under the License. -->
import type { LayoutConfig } from "@/types/dashboard"; import type { LayoutConfig } from "@/types/dashboard";
import { useDashboardStore } from "@/store/modules/dashboard"; import { useDashboardStore } from "@/store/modules/dashboard";
import controls from "./tab"; import controls from "./tab";
import { dragIgnoreFrom, ListChartTypes, WidgetType } from "../data"; import { dragIgnoreFrom, WidgetType } from "../data";
import copy from "@/utils/copy"; import copy from "@/utils/copy";
import { useDashboardQueryProcessor } from "@/hooks/useExpressionsProcessor"; import { useDashboardQueryProcessor } from "@/hooks/useExpressionsProcessor";