forked from github/dataease
fix(视图): 修复明细表分页错误
This commit is contained in:
parent
a58a8a1e72
commit
5ade614fb0
@ -658,7 +658,6 @@ export default {
|
|||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error('reDrawView-error:', this.element.propValue.id)
|
console.error('reDrawView-error:', this.element.propValue.id)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
bindPluginEvent() {
|
bindPluginEvent() {
|
||||||
@ -725,6 +724,7 @@ export default {
|
|||||||
// 将视图传入echart组件
|
// 将视图传入echart组件
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
this.chart = response.data
|
this.chart = response.data
|
||||||
|
this.view = response.data
|
||||||
this.$emit('fill-chart-2-parent', this.chart)
|
this.$emit('fill-chart-2-parent', this.chart)
|
||||||
this.getDataOnly(response.data, dataBroadcast)
|
this.getDataOnly(response.data, dataBroadcast)
|
||||||
this.chart['position'] = this.inTab ? 'tab' : 'panel'
|
this.chart['position'] = this.inTab ? 'tab' : 'panel'
|
||||||
@ -1182,6 +1182,7 @@ export default {
|
|||||||
}
|
}
|
||||||
viewData(this.chart.id, this.panelInfo.id, requestInfo).then(response => {
|
viewData(this.chart.id, this.panelInfo.id, requestInfo).then(response => {
|
||||||
this.componentViewsData[this.chart.id] = response.data
|
this.componentViewsData[this.chart.id] = response.data
|
||||||
|
this.view = response.data
|
||||||
if (dataBroadcast) {
|
if (dataBroadcast) {
|
||||||
bus.$emit('prop-change-data')
|
bus.$emit('prop-change-data')
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user