mirror of
https://gitee.com/gz-yami/mall4j.git
synced 2026-10-06 06:12:57 +08:00
规范化登录页跳转api写法
This commit is contained in:
@@ -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'
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user