|
|
|
@ -39,7 +39,7 @@ export default {
|
|
|
|
|
chartInit () {
|
|
|
|
|
let config = this.config
|
|
|
|
|
// key和code相等,说明是一进来刷新,调用list接口
|
|
|
|
|
if (this.config.code === this.config.key || this.isPreview) {
|
|
|
|
|
if (this.isPreview) {
|
|
|
|
|
// 改变样式
|
|
|
|
|
config = this.changeStyle(config) ? this.changeStyle(config) : config
|
|
|
|
|
// 改变数据
|
|
|
|
|