diff --git a/project.config.json b/project.config.json index 3812516..15d90c1 100644 --- a/project.config.json +++ b/project.config.json @@ -3,7 +3,6 @@ "projectname": "playBallTogether", "description": "playBallTogether", "appid": "wx815b533167eb7b53", - "setting": { "urlCheck": true, "es6": true, @@ -47,4 +46,4 @@ "simulatorType": "wechat", "simulatorPluginLibVersion": {}, "condition": {} -} \ No newline at end of file +} diff --git a/src/game_pages/detail/index.tsx b/src/game_pages/detail/index.tsx index e475fe9..644c3e0 100644 --- a/src/game_pages/detail/index.tsx +++ b/src/game_pages/detail/index.tsx @@ -57,7 +57,7 @@ function Index() { await delay(1000); - if (from !== "publish") { + if (from === "publish") { handleShare(true); } };