From 5b959b32d7058f0dfe19c430eb5985f195bd7c55 Mon Sep 17 00:00:00 2001 From: AZP <2198774759@qq.com> Date: 星期一, 21 十月 2024 11:39:18 +0800 Subject: [PATCH] update ruoyi-ui/src/components/ImageUpload/index.vue. 【fix】修复后台前端上传图片如果图片路径已经携带域名就无需增加前缀域名 --- ruoyi-ui/src/views/system/user/authRole.vue | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ruoyi-ui/src/views/system/user/authRole.vue b/ruoyi-ui/src/views/system/user/authRole.vue index e0cd7bc..aeb4222 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> @@ -33,7 +33,7 @@ </template> </el-table-column> </el-table> - + <pagination v-show="total>0" :total="total" :page.sync="pageNum" :limit.sync="pageSize" /> <el-form label-width="100px"> @@ -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.2