Memory_LG преди 9 месеца
родител
ревизия
a9763a49b0
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  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
     },