NEZ-1260 fix: Endpoint/Asset 上方导航栏未及时刷新
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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 = {
|
||||||
|
|||||||
Reference in New Issue
Block a user