From 262319dadcc1c56ca118623cb0a4cb07a4ad8f48 Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: 星期三, 11 五月 2022 14:26:07 +0800
Subject: [PATCH] 角色分配

---
 src/views/contractor/userManage/index.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/views/contractor/userManage/index.vue b/src/views/contractor/userManage/index.vue
index a919a0b..0520578 100644
--- a/src/views/contractor/userManage/index.vue
+++ b/src/views/contractor/userManage/index.vue
@@ -780,7 +780,7 @@
                 params['pageSize'] = _this.pageSize
                 params['type'] = _this.userType
                 params['realname'] = _this.realname
-                params['isMain'] = true
+                params['isMain'] = false
                 for (const i in _this.queryForm) {
                     if (_this.queryForm[i] != undefined && _this.queryForm[i].toString() != '') {
                         params[i] = _this.queryForm[i]
@@ -1012,7 +1012,7 @@
                                 })
                                 _this.getUserList()
                             } else {
-                                parseError({ error: res.data.message, vm: _this })
+                                parseError({ error: res.message, vm: _this })
                             }
                         })
                     }

--
Gitblit v1.9.2