mirror of
https://github.com/ialley-workshop-open/uni-halo.git
synced 2026-06-12 21:29:31 +08:00
update: 修复首次运行跳转页面非首页问题
This commit is contained in:
@@ -12,19 +12,14 @@
|
||||
fnCheckShowStarted() {
|
||||
if (!getApp().globalData.start.use) {
|
||||
uni.switchTab({
|
||||
// url: '/pages/tabbar/home/home'
|
||||
url: '/pages/tabbar/moments/moments'
|
||||
url: '/pages/tabbar/home/home'
|
||||
});
|
||||
return;
|
||||
}
|
||||
if (uni.getStorageSync('APP_HAS_STARTED')) {
|
||||
uni.switchTab({
|
||||
// url: '/pages/tabbar/home/home'
|
||||
url: '/pages/tabbar/moments/moments'
|
||||
url: '/pages/tabbar/home/home'
|
||||
});
|
||||
// uni.navigateTo({
|
||||
// url: '/pagesA/friend-links/friend-links'
|
||||
// });
|
||||
} else {
|
||||
uni.redirectTo({
|
||||
url: '/pagesA/start/start'
|
||||
|
||||
Reference in New Issue
Block a user