Browse Source

fix(chart): chart

use plugins:['chart'],but no any chart configuration,will throw error
master
lrz 5 years ago
parent
commit
2be467d6a4
  1. 6
      src/expendPlugins/chart/plugin.js

6
src/expendPlugins/chart/plugin.js

@ -102,6 +102,12 @@ function chart(data, isDemo) {
// rendercharts
function renderCharts(chartLists, isDemo) {
// no chart
if(chartLists == undefined){
return;
}
for (let i = 0; i < chartLists.length; i++) {
let chart = chartLists[i]

Loading…
Cancel
Save