File tree Expand file tree Collapse file tree 2 files changed +13
-12
lines changed Expand file tree Collapse file tree 2 files changed +13
-12
lines changed Original file line number Diff line number Diff line change 1
1
diff --git a/node_modules/zx-layouts/Avatar/components/ChooseTenant.vue b/node_modules/zx-layouts/Avatar/components/ChooseTenant.vue
2
2
new file mode 100644
3
- index 0000000..9e8486f
3
+ index 0000000..836ea53
4
4
--- /dev/null
5
5
+++ b/node_modules/zx-layouts/Avatar/components/ChooseTenant.vue
6
- @@ -0,0 +1,186 @@
6
+ @@ -0,0 +1,183 @@
7
7
+ <template>
8
8
+ <el-dialog
9
9
+ :title="title"
@@ -128,10 +128,9 @@ index 0000000..9e8486f
128
128
+ const { msg } = await switchOneself();
129
129
+ // 刷新当前用户信息
130
130
+ 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();
135
134
+ })
136
135
+ },
137
136
+ close(){
@@ -148,12 +147,10 @@ index 0000000..9e8486f
148
147
+ tenantId: this.selectRow.id
149
148
+ });
150
149
+ // 刷新当前用户信息
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();
157
154
+ })
158
155
+ },
159
156
+ setSelectRow(val) {
Original file line number Diff line number Diff line change 1719
1719
content: " 后端:优化WrapperUtil工具类性能,提供分页与Excel导出速度" ,
1720
1720
timestamp: " 2022-12-28" ,
1721
1721
},
1722
+ {
1723
+ content: " 前端:修复又是未能成功切换租户问题" ,
1724
+ timestamp: " 2022-12-28" ,
1725
+ },
1722
1726
{
1723
1727
content: " 更新opsli-boot 2.0 README描述" ,
1724
1728
timestamp: " 2022-12-28" ,
You can’t perform that action at this time.
0 commit comments