RuoYi
2020-07-11 d9ebddc66952b84191b1dabfed638acaba383e2c
防止切换权限用户后登录出现404
1 files renamed
1 files modified
4 ■■■■ changed files
ruoyi-ui/src/layout/components/Navbar.vue 2 ●●● patch | view | raw | blame | history
sql/ry_20200711.sql 2 ●●● patch | view | raw | blame | history
ruoyi-ui/src/layout/components/Navbar.vue
@@ -94,7 +94,7 @@
        type: 'warning'
      }).then(() => {
        this.$store.dispatch('LogOut').then(() => {
          location.reload()
          location.href = '/index';
        })
      })
    }
sql/ry_20200711.sql
File was renamed from sql/ry_20200702.sql
@@ -120,7 +120,7 @@
-- ----------------------------
-- 初始化-角色信息表数据
-- ----------------------------
insert into sys_role values('1', '系统管理员',  'admin',  1, 1, '0', '0', 'admin', '2018-03-16 11-33-00', 'ry', '2018-03-16 11-33-00', '系统管理员');
insert into sys_role values('1', '超级管理员',  'admin',  1, 1, '0', '0', 'admin', '2018-03-16 11-33-00', 'ry', '2018-03-16 11-33-00', '超级管理员');
insert into sys_role values('2', '普通角色',    'common', 2, 2, '0', '0', 'admin', '2018-03-16 11-33-00', 'ry', '2018-03-16 11-33-00', '普通角色');