|
@@ -348,16 +348,17 @@ export default {
|
|
|
response.rows = response.rows.filter(
|
|
|
(item) => !tempSelection.find((val) => val.dictId == item.dictId)
|
|
|
);
|
|
|
- this.typeList = [...tempSelection, ...response.rows];
|
|
|
+ // this.typeList = [...tempSelection, ...response.rows];
|
|
|
+ this.typeList = response.rows;
|
|
|
this.total = response.total;
|
|
|
this.loading = false;
|
|
|
- if (tempSelection.length) {
|
|
|
- this.$nextTick(() => {
|
|
|
- tempSelection.forEach((item) => {
|
|
|
- this.$refs.tableRef.toggleRowSelection(item);
|
|
|
- });
|
|
|
- });
|
|
|
- }
|
|
|
+ // if (tempSelection.length) {
|
|
|
+ // this.$nextTick(() => {
|
|
|
+ // tempSelection.forEach((item) => {
|
|
|
+ // this.$refs.tableRef.toggleRowSelection(item);
|
|
|
+ // });
|
|
|
+ // });
|
|
|
+ // }
|
|
|
}
|
|
|
);
|
|
|
},
|