Browse Source

人员修改报错

Memory_LG 7 tháng trước cách đây
mục cha
commit
a9763a49b0
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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
     },