فهرست منبع

人员修改报错

Memory_LG 7 ماه پیش
والد
کامیت
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
     },