全局映入echarts
This commit is contained in:
@@ -4,7 +4,9 @@
|
||||
|
||||
<script setup lang="ts">
|
||||
import { onBeforeUnmount, onMounted, ref, defineExpose, watch } from 'vue'
|
||||
import echarts from './echarts'
|
||||
// import echarts from './echarts'
|
||||
import * as echarts from 'echarts'; // 全引入
|
||||
|
||||
import 'echarts/lib/component/dataZoom'
|
||||
|
||||
const chartRef = ref<HTMLDivElement>()
|
||||
|
||||
Reference in New Issue
Block a user