Explorar o código

修复清空问题

wolyshaw %!s(int64=4) %!d(string=hai) anos
pai
achega
4517a8c17c
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/views/main/schedule-branch/modals/create.vue

+ 2 - 1
src/views/main/schedule-branch/modals/create.vue

@@ -173,7 +173,8 @@ export default {
             rows: 999
           })
           this.technicians = res.data.rows
-          this.$set(this.form, 'group', group.map(item => ({...item, userId: ''})))
+          console.log(this.form.group.map(item => ({...item, userId: ''})))
+          this.$set(this.form, 'group', this.form.group.map(item => ({...item, userId: ''})))
         } catch (error) {}
       }
     }