Fix:修复首页echarts在特定node版本中报引用出错的bug
This commit is contained in:
parent
edd81c548c
commit
0a111f7c33
|
@ -10,7 +10,7 @@
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import echarts from 'echarts'
|
import * as echarts from 'echarts'
|
||||||
import { toRaw } from 'vue'
|
import { toRaw } from 'vue'
|
||||||
import 'echarts/theme/macarons'
|
import 'echarts/theme/macarons'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue