Skip to content

Commit a2fce86

Browse files
author
Parker
authored
Merge pull request #15 from hiparker/development
2.0.1
2 parents 2fc27e7 + a0de17b commit a2fce86

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

vue-admin-beautiful/patches/zx-layouts+0.6.13.patch

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
diff --git a/node_modules/zx-layouts/Avatar/components/ChooseTenant.vue b/node_modules/zx-layouts/Avatar/components/ChooseTenant.vue
22
new file mode 100644
3-
index 0000000..9e8486f
3+
index 0000000..836ea53
44
--- /dev/null
55
+++ b/node_modules/zx-layouts/Avatar/components/ChooseTenant.vue
6-
@@ -0,0 +1,186 @@
6+
@@ -0,0 +1,183 @@
77
+<template>
88
+ <el-dialog
99
+ :title="title"
@@ -128,10 +128,9 @@ index 0000000..9e8486f
128128
+ const { msg } = await switchOneself();
129129
+ // 刷新当前用户信息
130130
+ const flag = await store.dispatch("user/refreshUserPerms");
131-
+ if(flag){
132-
+ this.$baseMessage(msg, "success");
133-
+ location.reload();
134-
+ }
131+
+ this.$baseMessage(msg, "success");
132+
+ that.close();
133+
+ location.reload();
135134
+ })
136135
+ },
137136
+ close(){
@@ -148,12 +147,10 @@ index 0000000..9e8486f
148147
+ tenantId: this.selectRow.id
149148
+ });
150149
+ // 刷新当前用户信息
151-
+ const flag = await store.dispatch("user/refreshUserPerms");
152-
+ if(flag){
153-
+ this.$baseMessage(msg, "success");
154-
+ that.close();
155-
+ location.reload();
156-
+ }
150+
+ await store.dispatch("user/refreshUserPerms");
151+
+ this.$baseMessage(msg, "success");
152+
+ that.close();
153+
+ location.reload();
157154
+ })
158155
+ },
159156
+ setSelectRow(val) {

vue-admin-beautiful/src/views/index/index.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1719,6 +1719,10 @@
17191719
content: "后端:优化WrapperUtil工具类性能,提供分页与Excel导出速度",
17201720
timestamp: "2022-12-28",
17211721
},
1722+
{
1723+
content: "前端:修复又是未能成功切换租户问题",
1724+
timestamp: "2022-12-28",
1725+
},
17221726
{
17231727
content: "更新opsli-boot 2.0 README描述",
17241728
timestamp: "2022-12-28",

0 commit comments

Comments
 (0)