chore: fix lint
This commit is contained in:
parent
0e62862119
commit
cfbce0d737
@ -1,4 +1,4 @@
|
|||||||
import type { Preferences } from "./types";
|
import type { Preferences } from './types';
|
||||||
|
|
||||||
const defaultPreferences: Preferences = {
|
const defaultPreferences: Preferences = {
|
||||||
app: {
|
app: {
|
||||||
@ -32,7 +32,6 @@ const defaultPreferences: Preferences = {
|
|||||||
watermark: false,
|
watermark: false,
|
||||||
watermarkContent: '',
|
watermarkContent: '',
|
||||||
zIndex: 200,
|
zIndex: 200,
|
||||||
|
|
||||||
},
|
},
|
||||||
breadcrumb: {
|
breadcrumb: {
|
||||||
enable: true,
|
enable: true,
|
||||||
|
|||||||
@ -1,23 +1,24 @@
|
|||||||
import type { EChartsOption } from "echarts";
|
import type { EChartsOption } from 'echarts';
|
||||||
|
|
||||||
import type { Ref } from "vue";
|
import type { Ref } from 'vue';
|
||||||
import { computed, nextTick, watch } 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 {
|
import {
|
||||||
tryOnUnmounted,
|
tryOnUnmounted,
|
||||||
useDebounceFn,
|
useDebounceFn,
|
||||||
useResizeObserver,
|
useResizeObserver,
|
||||||
useTimeoutFn,
|
useTimeoutFn,
|
||||||
useWindowSize
|
useWindowSize,
|
||||||
} from "@vueuse/core";
|
} from '@vueuse/core';
|
||||||
|
|
||||||
import echarts from "./echarts";
|
import echarts from './echarts';
|
||||||
|
|
||||||
type EchartsUIType = typeof EchartsUI | undefined;
|
type EchartsUIType = typeof EchartsUI | undefined;
|
||||||
|
|
||||||
@ -68,7 +69,7 @@ function useEcharts(chartRef: Ref<EchartsUIType>) {
|
|||||||
|
|
||||||
const renderEcharts = (
|
const renderEcharts = (
|
||||||
options: EChartsOption,
|
options: EChartsOption,
|
||||||
clear = true
|
clear = true,
|
||||||
): Promise<Nullable<echarts.ECharts>> => {
|
): Promise<Nullable<echarts.ECharts>> => {
|
||||||
cacheOptions = options;
|
cacheOptions = options;
|
||||||
const currentOptions = {
|
const currentOptions = {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user