fix:优化业务组件联动事件

main
hong.yang 1 year ago
parent 7fc20ca21b
commit 9ceaf88a89

@ -58,13 +58,18 @@ export default {
},
methods: {
changeData (config, filterList) {
//
let remote = this.$refs['remoteComponent'+config.code]
if (remote && remote.changeData){
remote.changeData(config, filterList)
}
//
return this.$options.mixins[1].methods.changeData.call(this, config, filterList)
let promise = this.$options.mixins[1].methods.changeData.call(this, config, filterList)
return promise.then(res => {
config = res
//
let remote = this.$refs['remoteComponent'+config.code]
if (remote && remote.changeData){
remote.changeData(config, filterList)
}
return config
})
},
...mapMutations('bigScreen', ['changeChartConfig']),
//

Loading…
Cancel
Save