From ee823b8326fd1ae1c838828499643e2e57cf8263 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: Thu, 02 Sep 2021 10:19:04 +0800
Subject: [PATCH] 防止表格最后页最后项删除变成暂无数据
---
ruoyi-ui/src/views/system/role/index.vue | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/ruoyi-ui/src/views/system/role/index.vue b/ruoyi-ui/src/views/system/role/index.vue
index da4b2ec..0e92231 100644
--- a/ruoyi-ui/src/views/system/role/index.vue
+++ b/ruoyi-ui/src/views/system/role/index.vue
@@ -168,7 +168,7 @@
<el-form-item label="角色名称" prop="roleName">
<el-input v-model="form.roleName" placeholder="请输入角色名称" />
</el-form-item>
- <el-form-item label="权限字符" prop="roleKey">
+ <el-form-item prop="roleKey">
<span slot="label">
<el-tooltip content="控制器中定义的权限字符,如:@PreAuthorize(`@ss.hasRole('admin')`)" placement="top">
<i class="el-icon-question"></i>
@@ -328,6 +328,7 @@
queryParams: {
pageNum: 1,
pageSize: 10,
+ reasonable: true,
roleName: undefined,
roleKey: undefined,
status: undefined
@@ -574,7 +575,7 @@
/** 分配用户操作 */
handleAuthUser: function(row) {
const roleId = row.roleId;
- this.$router.push("/auth/user/" + roleId);
+ this.$router.push("/system/role-auth/user/" + roleId);
},
/** 提交按钮 */
submitForm: function() {
--
Gitblit v1.9.2