静默登录第三次

This commit is contained in:
duan
2024-07-19 13:49:52 +08:00
parent 0d0d0d26ae
commit 963e9feb1b

View File

@@ -43,13 +43,6 @@
uni.cache.set('miniAppOpenId', res.data.userInfo
.miniAppOpenId)
uni.cache.set('userInfo', res.data.userInfo);
if (uni.cache.get('types') == 'types') {
uni.reLaunch({
url: '/pages/order_food/order_food'
});
} else {
uni.pro.switchTab('index/index')
}
}
},
fail: (err) => {}