Browse Source

人员修改报错

Memory_LG 7 months ago
parent
commit
a9763a49b0
1 changed files with 2 additions and 1 deletions
  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) {
-      this.ids = selection.map(item => item.id)
+      this.ids = selection.map(item => item.userId)
+      console.log(this.ids)
       this.single = selection.length !== 1
       this.multiple = !selection.length
     },