src/views/system/package/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/views/system/package/index.vue
@@ -833,7 +833,6 @@ pageSize: 10, pacName: null, pacRemark: null, }, queryParams1: { page: 1, @@ -1275,6 +1274,13 @@ search(this.queryParams1).then((response) => { this.Treedata = response.data.list; // 更新树形数据 this.total1 = response.data.total; // 更新总条数 const selectedIds = this.DataList.map((item) => item.proId); // 更新 checkedkey 使得选中的项目保持选中状态 this.checkedkey = selectedIds.filter((id) => this.Treedata.some((item) => item.proId === id) ); this.pics = this.DataList.reduce( (total, item) => total + item.priceOrd, 0