From 5d59c1277a39982994ed5de7344e5a2b09c2c4ce Mon Sep 17 00:00:00 2001 From: yvan.ni Date: Tue, 20 Apr 2021 14:39:28 +0800 Subject: [PATCH] 分享测试 --- pages/index/index/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/index/index/index.js b/pages/index/index/index.js index dbf40df..d21cf3a 100644 --- a/pages/index/index/index.js +++ b/pages/index/index/index.js @@ -594,7 +594,7 @@ Page({ console.log("---首页---分享--"); var title="商城首页" //分享 - if(getApp().globalData.config.store_name){ + if(getApp().globalData.config && getApp().globalData.config.store_name){ title=getApp().globalData.config.store_name; }else if(getApp().globalData.setting.appName){ title=getApp().globalData.setting.appName; -- libgit2 0.21.4