From af26fe2303a08266f32f7cd484f7e686cfe85e58 Mon Sep 17 00:00:00 2001 From: tianyi <13521030702@163.com> Date: Thu, 18 Jun 2026 17:28:55 +0800 Subject: [PATCH] 1 --- pages/index/home.vue | 46 ++++++++++++++++++++++---------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/pages/index/home.vue b/pages/index/home.vue index cb6cd50..3f5047f 100644 --- a/pages/index/home.vue +++ b/pages/index/home.vue @@ -15,32 +15,32 @@ uni.showLoading({ title: '加载中...' }) - if(uni.getStorageSync('noReload')){ - uni.removeStorageSync('noReload') - } - if (uni.getStorageSync('hiver_token')) { - if (uni.getStorageSync('wayValue') == 1) { - uni.reLaunch({ - url: '/package2/other/newLogisticsIndex' - }) - } else if (uni.getStorageSync('wayValue') == 0) { + // if(uni.getStorageSync('noReload')){ + // uni.removeStorageSync('noReload') + // } + // if (uni.getStorageSync('hiver_token')) { + // if (uni.getStorageSync('wayValue') == 1) { + // uni.reLaunch({ + // url: '/package2/other/newLogisticsIndex' + // }) + // } else if (uni.getStorageSync('wayValue') == 0) { uni.reLaunch({ url: '/pages/index/index' }) - } else if (uni.getStorageSync('wayValue') == 2) { - uni.reLaunch({ - url: '/package1/other/custom' - }) - } - } else if(option.khid){ - uni.reLaunch({ - url: '/package1/index/downStearmList?khid='+option.khid - }) - }else { - uni.reLaunch({ - url: '/package2/login/login' - }) - } + // } else if (uni.getStorageSync('wayValue') == 2) { + // uni.reLaunch({ + // url: '/package1/other/custom' + // }) + // } + // } else if(option.khid){ + // uni.reLaunch({ + // url: '/package1/index/downStearmList?khid='+option.khid + // }) + // }else { + // uni.reLaunch({ + // url: '/package2/login/login' + // }) + // } uni.hideLoading(); }, methods: {