|
@@ -310,16 +310,17 @@ export default {
|
|
|
response.rows = response.rows.filter(
|
|
|
(item) => !tempSelection.find((val) => val.postId == item.postId)
|
|
|
);
|
|
|
- this.postList = [...tempSelection, ...response.rows];
|
|
|
+ // this.postList = [...tempSelection, ...response.rows];
|
|
|
+ this.postList = 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);
|
|
|
+ // });
|
|
|
+ // });
|
|
|
+ // }
|
|
|
});
|
|
|
},
|
|
|
// 取消按钮
|