Commit 5d59c1277a39982994ed5de7344e5a2b09c2c4ce

Authored by yvan.ni
1 parent 89ffb03d

分享测试

Showing 1 changed file with 1 additions and 1 deletions
pages/index/index/index.js
... ... @@ -594,7 +594,7 @@ Page({
594 594 console.log("---首页---分享--");
595 595 var title="商城首页"
596 596 //分享
597   - if(getApp().globalData.config.store_name){
  597 + if(getApp().globalData.config && getApp().globalData.config.store_name){
598 598 title=getApp().globalData.config.store_name;
599 599 }else if(getApp().globalData.setting.appName){
600 600 title=getApp().globalData.setting.appName;
... ...