瀏覽代碼

🔧 chore(profile): update redirect path after logout

- 修改退出登录后的重定向路径,从"/pages/index/index"调整为"/pages/home/index"
yourname 3 月之前
父節點
當前提交
21f5088e6d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      mini/src/pages/profile/index.tsx

+ 1 - 1
mini/src/pages/profile/index.tsx

@@ -30,7 +30,7 @@ const ProfilePage: React.FC = () => {
               duration: 1500
             })
             setTimeout(() => {
-              Taro.reLaunch({ url: '/pages/index/index' })
+              Taro.reLaunch({ url: '/pages/home/index' })
             }, 1500)
           }
         }