diff --git a/src/resources/components/TsTable/component/table-tbody.vue b/src/resources/components/TsTable/component/table-tbody.vue index 1191a2d53be4d51a329aa6ac2c2ac518796f91fe..33755117145be2e5b5d67185658368772e828fa7 100644 --- a/src/resources/components/TsTable/component/table-tbody.vue +++ b/src/resources/components/TsTable/component/table-tbody.vue @@ -513,8 +513,10 @@ export default { tbodyList: { handler: function(val) { let _this = this; - this.list = this.canDrag ? this.$utils.deepClone(val) : val; - //this.list = val; + this.list = []; + val && val.forEach((item) => { + this.list.push(item); // 可拖拽,使用插槽修改行数据,数据不更新由于tbodyList深拷贝导致 + }); if (_this.$el && _this.$el.rows && _this.$el.rows.length) { _this.$nextTick(() => { let cellWidthList = []; diff --git a/src/views/pages/process/priority/priority-manage.vue b/src/views/pages/process/priority/priority-manage.vue index a00aeabde6e350419238d7f2369fbac0524f9ed5..71fc130ed6a692ebf10fd1bdbe0250da3abb18a4 100644 --- a/src/views/pages/process/priority/priority-manage.vue +++ b/src/views/pages/process/priority/priority-manage.vue @@ -341,8 +341,6 @@ export default { if (res.Status === 'OK') { this.$Message.success(this.$t('message.savesuccess')); } else throw res; - }).finally(() => { - this.getTableDataSearch(1); }); } },