NEZ-1260 fix: Endpoint/Asset 上方导航栏未及时刷新

This commit is contained in:
zhangyu
2021-11-17 10:08:57 +08:00
parent 0d190d6b9e
commit 02802062fd
2 changed files with 2 additions and 2 deletions

View File

@@ -673,7 +673,7 @@ export default {
} }
this.$set(this.searchLabel, 'pageNo', this.pageObj.pageNo) this.$set(this.searchLabel, 'pageNo', this.pageObj.pageNo)
this.$set(this.searchLabel, 'pageSize', this.pageObj.pageSize) this.$set(this.searchLabel, 'pageSize', this.pageObj.pageSize)
if (this.$route.path === '/asset' && !this.titleSearchList.model.children.length) { if (this.$route.path === '/asset' && this.titleSearchList) {
this.$set(this.searchLabel, 'statistics', 1) this.$set(this.searchLabel, 'statistics', 1)
}/* else { }/* else {
delete this.searchLabel.statistics delete this.searchLabel.statistics

View File

@@ -590,7 +590,7 @@ export default {
} }
this.$set(this.searchLabel, 'pageNo', this.pageObj.pageNo) this.$set(this.searchLabel, 'pageNo', this.pageObj.pageNo)
this.$set(this.searchLabel, 'pageSize', this.pageObj.pageSize) this.$set(this.searchLabel, 'pageSize', this.pageObj.pageSize)
if (this.$route.path === '/monitor/endpoint' && !this.titleSearchList.project.children.length) { if (this.$route.path === '/monitor/endpoint') {
this.$set(this.searchLabel, 'statistics', 1) this.$set(this.searchLabel, 'statistics', 1)
} }
const params = { const params = {