Bläddra i källkod

人员修改报错

Memory_LG 7 månader sedan
förälder
incheckning
a9763a49b0
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2 1
      lawenforcement-ui/src/views/lawenforcement/user/index.vue

+ 2 - 1
lawenforcement-ui/src/views/lawenforcement/user/index.vue

@@ -436,7 +436,8 @@ export default {
     },
     },
     // 多选框选中数据
     // 多选框选中数据
     handleSelectionChange(selection) {
     handleSelectionChange(selection) {
-      this.ids = selection.map(item => item.id)
+      this.ids = selection.map(item => item.userId)
+      console.log(this.ids)
       this.single = selection.length !== 1
       this.single = selection.length !== 1
       this.multiple = !selection.length
       this.multiple = !selection.length
     },
     },