Skip to content

Commit cfbce0d

Browse files
committed
chore: fix lint
1 parent 0e62862 commit cfbce0d

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

packages/@core/preferences/src/config.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Preferences } from "./types";
1+
import type { Preferences } from './types';
22

33
const defaultPreferences: Preferences = {
44
app: {
@@ -32,7 +32,6 @@ const defaultPreferences: Preferences = {
3232
watermark: false,
3333
watermarkContent: '',
3434
zIndex: 200,
35-
3635
},
3736
breadcrumb: {
3837
enable: true,

packages/effects/plugins/src/echarts/use-echarts.ts

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,24 @@
1-
import type { EChartsOption } from "echarts";
1+
import type { EChartsOption } from 'echarts';
22

3-
import type { Ref } from "vue";
4-
import { computed, nextTick, watch } from "vue";
3+
import type { Ref } from 'vue';
54

6-
import type { Nullable } from "@vben/types";
5+
import type { Nullable } from '@vben/types';
76

8-
import type EchartsUI from "./echarts-ui.vue";
7+
import type EchartsUI from './echarts-ui.vue';
98

10-
import { usePreferences } from "@vben/preferences";
9+
import { computed, nextTick, watch } from 'vue';
10+
11+
import { usePreferences } from '@vben/preferences';
1112

1213
import {
1314
tryOnUnmounted,
1415
useDebounceFn,
1516
useResizeObserver,
1617
useTimeoutFn,
17-
useWindowSize
18-
} from "@vueuse/core";
18+
useWindowSize,
19+
} from '@vueuse/core';
1920

20-
import echarts from "./echarts";
21+
import echarts from './echarts';
2122

2223
type EchartsUIType = typeof EchartsUI | undefined;
2324

@@ -68,7 +69,7 @@ function useEcharts(chartRef: Ref<EchartsUIType>) {
6869

6970
const renderEcharts = (
7071
options: EChartsOption,
71-
clear = true
72+
clear = true,
7273
): Promise<Nullable<echarts.ECharts>> => {
7374
cacheOptions = options;
7475
const currentOptions = {

0 commit comments

Comments
 (0)