Merge pull request #3920 from dataease/pr@dev@fix_table

fix(视图): 修复明细表分页错误
This commit is contained in:
Junjun 2022-11-29 12:00:54 +08:00 committed by GitHub
commit 4bd6f8527b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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')
}