fix: 修改echarts组件导入地址
This commit is contained in:
@@ -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 },
|
||||
|
@@ -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 },
|
||||
|
@@ -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';
|
||||
|
||||
|
@@ -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';
|
||||
|
||||
|
@@ -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';
|
||||
|
||||
|
@@ -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';
|
||||
|
||||
|
@@ -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';
|
||||
|
||||
|
Reference in New Issue
Block a user