diff --git a/src/pages/policyRegulation/meeting/index.vue b/src/pages/policyRegulation/meeting/index.vue index 135f54b75..29a48004c 100644 --- a/src/pages/policyRegulation/meeting/index.vue +++ b/src/pages/policyRegulation/meeting/index.vue @@ -231,9 +231,7 @@ export default { let params = { ...this.searchForm, ...this.advancedSearchForm } const res = await this.$http._getData(this.api.page, params, {_this:this,loading: 'loading'}) if (res.ok && res.data) { - if (res.data.list && res.data.list.length > 0) { - this.data = res.data.list - } + this.data = res.data.list this.total = res.data.count } }, diff --git a/src/pages/policyRegulation/policyTopics/index.vue b/src/pages/policyRegulation/policyTopics/index.vue index 76514186c..c0c95841e 100644 --- a/src/pages/policyRegulation/policyTopics/index.vue +++ b/src/pages/policyRegulation/policyTopics/index.vue @@ -245,9 +245,7 @@ export default { let params = { ...this.searchForm, ...this.advancedSearchForm } const res = await this.$http._getData(this.api.page, params, {_this:this,loading: 'loading'}) if (res.ok && res.data) { - if (res.data.list && res.data.list.length > 0) { - this.data = res.data.list - } + this.data = res.data.list this.total = res.data.count } },