|
@@ -326,11 +326,9 @@ export default {
|
|
|
await sleep(this.beforeDelay)
|
|
|
}
|
|
|
let config = await this.getContext();
|
|
|
- console.log(config,'config');
|
|
|
// #ifndef APP-NVUE
|
|
|
setCanvasCreator(echarts, config)
|
|
|
try {
|
|
|
- console.log(typeof callback,'callback');
|
|
|
this.chart = echarts.init(config.canvas, theme, Object.assign({}, config, opts))
|
|
|
if(typeof callback === 'function') {
|
|
|
callback(this.chart)
|