fix(视图): 修复明细表分页错误

This commit is contained in:
junjun 2022-11-29 11:56:25 +08:00
parent a58a8a1e72
commit 5ade614fb0

View File

@ -658,7 +658,6 @@ export default {
} catch (e) {
console.error('reDrawView-error', this.element.propValue.id)
}
}
},
bindPluginEvent() {
@ -725,6 +724,7 @@ export default {
// echart
if (response.success) {
this.chart = response.data
this.view = response.data
this.$emit('fill-chart-2-parent', this.chart)
this.getDataOnly(response.data, dataBroadcast)
this.chart['position'] = this.inTab ? 'tab' : 'panel'
@ -1182,6 +1182,7 @@ export default {
}
viewData(this.chart.id, this.panelInfo.id, requestInfo).then(response => {
this.componentViewsData[this.chart.id] = response.data
this.view = response.data
if (dataBroadcast) {
bus.$emit('prop-change-data')
}