规范化登录页跳转api写法

This commit is contained in:
yangjian
2026-08-31 14:33:10 +08:00
parent de6430ae4b
commit 07c22a3e08
@@ -127,7 +127,7 @@ const login = () => {
icon: 'none',
complete: () => {
setTimeout(() => {
wx.switchTab({
uni.switchTab({
url: '/pages/index/index'
})
}, 1000)
@@ -151,7 +151,7 @@ const toRegitser = () => {
* 回到首页
*/
const toIndex = () => {
wx.switchTab({
uni.switchTab({
url: '/pages/index/index'
})
}