From 9991c835288f3cc02e6b57aeb067f9a1573a266b Mon Sep 17 00:00:00 2001
From: lyfO_o <764716047@qq.com>
Date: 星期五, 06 五月 2022 15:18:20 +0800
Subject: [PATCH] 用户初始化

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

diff --git a/src/views/systemManage/userManage/index.vue b/src/views/systemManage/userManage/index.vue
index 2196858..8db5777 100644
--- a/src/views/systemManage/userManage/index.vue
+++ b/src/views/systemManage/userManage/index.vue
@@ -1024,6 +1024,8 @@
                 this.dataForm.password = null
                 this.dialogStatus = 'update'
                 this.dialogFormVisible = true
+                let ismain = this.companyList.find(item=>item.company === row.company).ismain
+                this.isMain = ismain === 1;
                 this.$nextTick(() => {
                     this.$refs['dataForm'].clearValidate()
                 })
@@ -1341,7 +1343,6 @@
                 const _this = this;
                 bindCard(_this.cardDataForm).then(response => {
                     const res = response.data
-                    debugger
                     if (res.code === '200'){
                         _this.$message({
                             message: '绑定成功',

--
Gitblit v1.9.2