@lambo-design/pro-layout 1.0.0-beta.357 → 1.0.0-beta.358

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lambo-design/pro-layout",
3
- "version": "1.0.0-beta.357",
3
+ "version": "1.0.0-beta.358",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "author": "lambo",
@@ -140,8 +140,20 @@ export default {
140
140
  }, 200)
141
141
  },
142
142
  changeApp(appId,appInfo){
143
+ let oldAppId = this.appId
144
+ let oldAppInfo = this.appInfo
143
145
  this.appId = appId;
144
146
  this.appInfo = appInfo;
147
+ if(oldAppId!=appId && oldAppInfo){
148
+ if(oldAppInfo.extendProps){
149
+ let isHideLeftMenu = oldAppInfo.extendProps.is_hide_left_menu
150
+ if(isHideLeftMenu==='1'){
151
+ if(oldAppInfo.extendProps.homePagePath){
152
+ this.handleClose(this.tagList[this.tagList.length-1])
153
+ }
154
+ }
155
+ }
156
+ }
145
157
  },
146
158
  emitTags(data,current){
147
159
  Bus.$emit('tag-list',data,current);