From 5ca038d888922e93bf45c7bd37f3c6dce849dcff Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期五, 24 十二月 2021 11:36:02 +0800 Subject: [PATCH] update 调整监控依赖 从 common 迁移到 framework --- 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