diff --git a/src/user_pages/setTransactionPassword/index.tsx b/src/user_pages/setTransactionPassword/index.tsx index 26b6131..1670881 100644 --- a/src/user_pages/setTransactionPassword/index.tsx +++ b/src/user_pages/setTransactionPassword/index.tsx @@ -68,7 +68,9 @@ const SetTransactionPassword: React.FC = () => { title: "设置交易密码成功", icon: "success", }); - Taro.navigateBack(); + Taro.redirectTo({ + url: "/user_pages/wallet/index" + }) } catch (error) { Taro.showToast({ title: "设置交易密码失败",