fix: assetTab 二级菜单 修复 查询条数和列表展示数量不一致
This commit is contained in:
@@ -209,6 +209,11 @@ 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.from === fromRoute.model) {
|
||||||
|
this.$set(this.searchLabel, 'modelIds', this.obj.id)
|
||||||
|
} else if (this.from === fromRoute.dc) {
|
||||||
|
this.$set(this.searchLabel, 'dcIds', this.obj.id)
|
||||||
|
}
|
||||||
this.tools.loading = true
|
this.tools.loading = true
|
||||||
this.$get(this.url, { ...this.searchLabel, ...this.searchCheckBox }).then(response => {
|
this.$get(this.url, { ...this.searchLabel, ...this.searchCheckBox }).then(response => {
|
||||||
this.tools.loading = false
|
this.tools.loading = false
|
||||||
|
|||||||
Reference in New Issue
Block a user