Преглед изворни кода

🔧 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)
           }
         }