Merge pull request #12348 from dataease/pr@dev@fix_table_info_page_filter

fix(视图): 明细表翻页后查询无数据 #12125
This commit is contained in:
wisonic-s 2024-09-20 16:52:54 +08:00 committed by GitHub
commit 73da1580e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -601,6 +601,7 @@ export default {
'cfilters': {
handler: function(val1, val2) {
if (isChange(val1, val2) && !this.isFirstLoad) {
this.currentPage.page = 1
this.getData(this.element.propValue.viewId)
this.getDataLoading = true
}
@ -779,20 +780,20 @@ export default {
message: h('p', null, [
this.$t('data_export.exporting'),
h(
Button,
{
props: {
type: 'text',
},
class: 'btn-text',
on: {
click: () => {
cb()
}
}
Button,
{
props: {
type: 'text'
},
this.$t('data_export.export_center')
),
class: 'btn-text',
on: {
click: () => {
cb()
}
}
},
this.$t('data_export.export_center')
),
this.$t('data_export.export_info')
]),
iconClass,
@ -811,7 +812,7 @@ export default {
Button,
{
props: {
type: 'text',
type: 'text'
},
class: 'btn-text',
on: {
@ -999,7 +1000,7 @@ export default {
},
getData(id, cache = true, dataBroadcast = false) {
// Err1001
if (this.requestStatus === 'waiting' || (this.message && this.message.indexOf('Err1001')> -1)) {
if (this.requestStatus === 'waiting' || (this.message && this.message.indexOf('Err1001') > -1)) {
return
}
if (id) {