uniapp使用echarts
在uniapp中是无法直接引用echarts的所以使用uniapp的预渲染
randerjs
<script module="echarts" lang="renderjs">
let myChartB, myChartZ,myChartL
export default {
mounted() {
// // 动态引入较大类库避免影响页面展示
this.zyx();
},
methods: {
zyx(){
//
原创
2021-08-03 09:04:36 ·
3366 阅读 ·
1 评论