From 5057628b528a5fda594b2d2296142d4c12ce6a02 Mon Sep 17 00:00:00 2001
From: 疯狂的狮子li <15040126243@163.com>
Date: 星期二, 31 一月 2023 14:14:46 +0800
Subject: [PATCH] fix 修复 错误修改 sql 用户数据
---
ruoyi-ui/src/views/system/user/authRole.vue | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/ruoyi-ui/src/views/system/user/authRole.vue b/ruoyi-ui/src/views/system/user/authRole.vue
index 8e7f82a..7abe26a 100644
--- a/ruoyi-ui/src/views/system/user/authRole.vue
+++ b/ruoyi-ui/src/views/system/user/authRole.vue
@@ -9,7 +9,7 @@
</el-form-item>
</el-col>
<el-col :span="8" :offset="2">
- <el-form-item label="鐧诲綍璐﹀彿" prop="phonenumber">
+ <el-form-item label="鐧诲綍璐﹀彿" prop="userName">
<el-input v-model="form.userName" disabled />
</el-form-item>
</el-col>
@@ -103,14 +103,14 @@
const userId = this.form.userId;
const roleIds = this.roleIds.join(",");
updateAuthRole({ userId: userId, roleIds: roleIds }).then((response) => {
- this.msgSuccess("鎺堟潈鎴愬姛");
+ this.$modal.msgSuccess("鎺堟潈鎴愬姛");
this.close();
});
},
/** 鍏抽棴鎸夐挳 */
close() {
- this.$store.dispatch("tagsView/delView", this.$route);
- this.$router.push({ path: "/system/user" });
+ const obj = { path: "/system/user" };
+ this.$tab.closeOpenPage(obj);
},
},
};
--
Gitblit v1.9.3