From a33898c2a0374c249862a2b996e33352e30c8caf Mon Sep 17 00:00:00 2001 From: KonBAI <1527468660@qq.com> Date: 星期六, 02 四月 2022 13:02:56 +0800 Subject: [PATCH] !167 update 修改角色"菜单树选择项"和"部门树选择项"是否关联显示字段为Boolean类型 * fix 修改 postgres sql脚本,处理角色表字段类型错误问题。 * fix 修复postgreSQL新增或更新角色信息报错。修改角色"菜单树选择项"和"部门树选择项"是否关联显示字段为Boolean类型。 --- ruoyi-ui/src/layout/components/Settings/index.vue | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ruoyi-ui/src/layout/components/Settings/index.vue b/ruoyi-ui/src/layout/components/Settings/index.vue index ffdedb4..f490b99 100644 --- a/ruoyi-ui/src/layout/components/Settings/index.vue +++ b/ruoyi-ui/src/layout/components/Settings/index.vue @@ -41,7 +41,7 @@ <el-divider/> <h3 class="drawer-title">绯荤粺甯冨眬閰嶇疆</h3> - + <div class="drawer-item"> <span>寮�鍚� TopNav</span> <el-switch v-model="topNav" class="drawer-switch" /> @@ -108,6 +108,7 @@ value: val }) if (!val) { + this.$store.dispatch('app/toggleSideBarHide', false); this.$store.commit("SET_SIDEBAR_ROUTERS", this.$store.state.permission.defaultRoutes); } } @@ -162,7 +163,7 @@ this.sideTheme = val; }, saveSetting() { - this.$modal.loading("姝e湪淇濆瓨鍒版湰鍦帮紝璇风◢鍚�..."); + this.$modal.loading("姝e湪淇濆瓨鍒版湰鍦帮紝璇风◢鍊�..."); this.$cache.local.set( "layout-setting", `{ @@ -178,7 +179,7 @@ setTimeout(this.$modal.closeLoading(), 1000) }, resetSetting() { - this.$modal.loading("姝e湪娓呴櫎璁剧疆缂撳瓨骞跺埛鏂帮紝璇风◢鍚�..."); + this.$modal.loading("姝e湪娓呴櫎璁剧疆缂撳瓨骞跺埛鏂帮紝璇风◢鍊�..."); this.$cache.local.remove("layout-setting") setTimeout("window.location.reload()", 1000) } -- Gitblit v1.9.3