From d9ebddc66952b84191b1dabfed638acaba383e2c Mon Sep 17 00:00:00 2001 From: RuoYi Date: Sat, 11 Jul 2020 09:42:25 +0800 Subject: [PATCH] =?UTF-8?q?=E9=98=B2=E6=AD=A2=E5=88=87=E6=8D=A2=E6=9D=83?= =?UTF-8?q?=E9=99=90=E7=94=A8=E6=88=B7=E5=90=8E=E7=99=BB=E5=BD=95=E5=87=BA?= =?UTF-8?q?=E7=8E=B0404?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/layout/components/Navbar.vue | 2 +- sql/{ry_20200702.sql => ry_20200711.sql} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename sql/{ry_20200702.sql => ry_20200711.sql} (98%) diff --git a/ruoyi-ui/src/layout/components/Navbar.vue b/ruoyi-ui/src/layout/components/Navbar.vue index 22427a8..db46ec5 100644 --- a/ruoyi-ui/src/layout/components/Navbar.vue +++ b/ruoyi-ui/src/layout/components/Navbar.vue @@ -94,7 +94,7 @@ export default { type: 'warning' }).then(() => { this.$store.dispatch('LogOut').then(() => { - location.reload() + location.href = '/index'; }) }) } diff --git a/sql/ry_20200702.sql b/sql/ry_20200711.sql similarity index 98% rename from sql/ry_20200702.sql rename to sql/ry_20200711.sql index 95b31a1..407e317 100644 --- a/sql/ry_20200702.sql +++ b/sql/ry_20200711.sql @@ -120,7 +120,7 @@ create table sys_role ( -- ---------------------------- -- 初始化-角色信息表数据 -- ---------------------------- -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', '普通角色');