From cfbce0d7379566f19d899604671041d3941868ad Mon Sep 17 00:00:00 2001 From: Jin Mao Date: Sun, 26 Oct 2025 15:27:28 +0800 Subject: [PATCH] chore: fix lint --- packages/@core/preferences/src/config.ts | 3 +-- .../plugins/src/echarts/use-echarts.ts | 21 ++++++++++--------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/packages/@core/preferences/src/config.ts b/packages/@core/preferences/src/config.ts index f6c1c2b7..b8b7212a 100644 --- a/packages/@core/preferences/src/config.ts +++ b/packages/@core/preferences/src/config.ts @@ -1,4 +1,4 @@ -import type { Preferences } from "./types"; +import type { Preferences } from './types'; const defaultPreferences: Preferences = { app: { @@ -32,7 +32,6 @@ const defaultPreferences: Preferences = { watermark: false, watermarkContent: '', zIndex: 200, - }, breadcrumb: { enable: true, diff --git a/packages/effects/plugins/src/echarts/use-echarts.ts b/packages/effects/plugins/src/echarts/use-echarts.ts index 22a791a2..1a28fb12 100644 --- a/packages/effects/plugins/src/echarts/use-echarts.ts +++ b/packages/effects/plugins/src/echarts/use-echarts.ts @@ -1,23 +1,24 @@ -import type { EChartsOption } from "echarts"; +import type { EChartsOption } from 'echarts'; -import type { Ref } from "vue"; -import { computed, nextTick, watch } from "vue"; +import type { Ref } from 'vue'; -import type { Nullable } from "@vben/types"; +import type { Nullable } from '@vben/types'; -import type EchartsUI from "./echarts-ui.vue"; +import type EchartsUI from './echarts-ui.vue'; -import { usePreferences } from "@vben/preferences"; +import { computed, nextTick, watch } from 'vue'; + +import { usePreferences } from '@vben/preferences'; import { tryOnUnmounted, useDebounceFn, useResizeObserver, useTimeoutFn, - useWindowSize -} from "@vueuse/core"; + useWindowSize, +} from '@vueuse/core'; -import echarts from "./echarts"; +import echarts from './echarts'; type EchartsUIType = typeof EchartsUI | undefined; @@ -68,7 +69,7 @@ function useEcharts(chartRef: Ref) { const renderEcharts = ( options: EChartsOption, - clear = true + clear = true, ): Promise> => { cacheOptions = options; const currentOptions = {