whj há 2 anos atrás
pai
commit
b1d5dae3e5
1 ficheiros alterados com 1 adições e 4 exclusões
  1. 1 4
      src/views/fill/task/modules/BaseForm.vue

+ 1 - 4
src/views/fill/task/modules/BaseForm.vue

@@ -478,12 +478,9 @@ export default {
       this.$refs.sbInfoSelectModal.base({}, this.ids)
     },
     handleSbSelectd (keys, rows) {
-      const ids = keys.filter(item => !this.ids.includes(item))
-      if (ids.length === 0) return
-      console.log(ids)
       updatetasks({
         id: this.id,
-        sbIds: ids,
+        sbIds: keys,
         isAdd: 1
       }).then(res => {
         this.$message.info('操作成功!')