diff --git a/src/pages/home/index.tsx b/src/pages/home/index.tsx index b657ec8..766488d 100644 --- a/src/pages/home/index.tsx +++ b/src/pages/home/index.tsx @@ -30,11 +30,11 @@ const Home = () => { ]; useEffect(() => { -// 设置标题 + // 设置标题 definePageConfig({ - navigationBarTitleText: '首页' - }) -// 设置允许分享 + navigationBarTitleText: "首页", + }); + // 设置允许分享 Taro.showShareMenu({ withShareTicket: true, });