fix: 修改echarts组件导入地址

This commit is contained in:
dap
2024-08-29 16:25:41 +08:00
parent 00c95c373d
commit 9056f6a543
8 changed files with 49 additions and 222 deletions

View File

@@ -3,7 +3,11 @@ import type { EChartsOption } from 'echarts';
import { defineComponent, onMounted, ref, watch } from 'vue';
import { EchartsUI, type EchartsUIType, useEcharts } from '@vben/chart-ui';
import {
EchartsUI,
type EchartsUIType,
useEcharts,
} from '@vben/plugins/echarts';
export default defineComponent({
components: { EchartsUI },

View File

@@ -3,7 +3,11 @@ import type { EChartsOption } from 'echarts';
import { defineComponent, onMounted, ref, watch } from 'vue';
import { EchartsUI, type EchartsUIType, useEcharts } from '@vben/chart-ui';
import {
EchartsUI,
type EchartsUIType,
useEcharts,
} from '@vben/plugins/echarts';
export default defineComponent({
components: { EchartsUI },

View File

@@ -4,7 +4,11 @@ import type { EChartsOption } from 'echarts';
// import * as echarts from 'echarts';
import { onMounted, ref } from 'vue';
import { EchartsUI, type EchartsUIType, useEcharts } from '@vben/chart-ui';
import {
EchartsUI,
type EchartsUIType,
useEcharts,
} from '@vben/plugins/echarts';
import { browserInfoList } from '../api';

View File

@@ -4,7 +4,11 @@ import type { EChartsOption } from 'echarts';
// import * as echarts from 'echarts';
import { onMounted, ref } from 'vue';
import { EchartsUI, type EchartsUIType, useEcharts } from '@vben/chart-ui';
import {
EchartsUI,
type EchartsUIType,
useEcharts,
} from '@vben/plugins/echarts';
import { deviceInfoList } from '../api';

View File

@@ -4,7 +4,11 @@ import type { EChartsOption } from 'echarts';
// import * as echarts from 'echarts';
import { onMounted, ref } from 'vue';
import { EchartsUI, type EchartsUIType, useEcharts } from '@vben/chart-ui';
import {
EchartsUI,
type EchartsUIType,
useEcharts,
} from '@vben/plugins/echarts';
import { ispInfoList } from '../api';

View File

@@ -4,7 +4,11 @@ import type { EChartsOption } from 'echarts';
// import * as echarts from 'echarts';
import { onMounted, ref } from 'vue';
import { EchartsUI, type EchartsUIType, useEcharts } from '@vben/chart-ui';
import {
EchartsUI,
type EchartsUIType,
useEcharts,
} from '@vben/plugins/echarts';
import { loginLine } from '../api';

View File

@@ -4,7 +4,11 @@ import type { EChartsOption } from 'echarts';
// import * as echarts from 'echarts';
import { onMounted, ref } from 'vue';
import { EchartsUI, type EchartsUIType, useEcharts } from '@vben/chart-ui';
import {
EchartsUI,
type EchartsUIType,
useEcharts,
} from '@vben/plugins/echarts';
import * as echarts from 'echarts/core';