فهرست منبع

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