You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
785 B
39 lines
785 B
<template>
|
|
<view></view>
|
|
</template>
|
|
<script>
|
|
export default {
|
|
created(){
|
|
if (uni.getStorageSync('hiver_token')) {
|
|
if (uni.getStorageSync('wayValue') == 1) {
|
|
uni.reLaunch({
|
|
url: '/package1/other/logistics'
|
|
})
|
|
} else if (uni.getStorageSync('wayValue') == 0) {
|
|
uni.reLaunch({
|
|
url: '/pages/index/index'
|
|
})
|
|
} else if (uni.getStorageSync('wayValue') == 2) {
|
|
uni.reLaunch({
|
|
url: '/package1/other/custom'
|
|
})
|
|
}
|
|
}
|
|
},
|
|
onLoad(option) {
|
|
uni.showLoading({
|
|
title: '加载中...'
|
|
})
|
|
if(option.khid){
|
|
uni.reLaunch({
|
|
url: '/pages/index/downStearmList?khid='+option.khid
|
|
})
|
|
}else {
|
|
uni.reLaunch({
|
|
url: '/pages/login/login'
|
|
})
|
|
}
|
|
uni.hideLoading();
|
|
}
|
|
}
|
|
</script>
|