@lambo-design/pro-layout 1.0.0-beta.362 → 1.0.0-beta.363

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.362",
3
+ "version": "1.0.0-beta.363",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "author": "lambo",
@@ -154,7 +154,7 @@ export default {
154
154
  if(oldAppInfo.setting){
155
155
  oldAppConfig=JSON.parse(oldAppInfo.setting)
156
156
  }
157
- if(oldAppConfig.is_hide_left_menu){
157
+ if(oldAppConfig && oldAppConfig.is_hide_left_menu){
158
158
  let isHideLeftMenu = oldAppConfig.is_hide_left_menu
159
159
  if(isHideLeftMenu==='1'){
160
160
  if(oldAppConfig.homePagePath){
package/src/index.vue CHANGED
@@ -269,7 +269,9 @@ export default {
269
269
  if(appInfo.setting){
270
270
  appConfig=JSON.parse(appInfo.setting)
271
271
  }
272
- this.isHideLeftMenu=appConfig.is_hide_left_menu!='1'
272
+ if(appConfig && appConfig.is_hide_left_menu){
273
+ this.isHideLeftMenu=appConfig.is_hide_left_menu!='1'
274
+ }
273
275
 
274
276
  this.appId = appId;
275
277
  this.$emit('change-app',{appId,appInfo})