whj %!s(int64=2) %!d(string=hai) anos
pai
achega
b1d5dae3e5
Modificáronse 1 ficheiros con 1 adicións e 4 borrados
  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('操作成功!')