1 changed files with 44 additions and 0 deletions
@ -0,0 +1,44 @@ |
|||
<template> |
|||
|
|||
</template> |
|||
|
|||
<script> |
|||
export default { |
|||
data() { |
|||
return { |
|||
|
|||
} |
|||
}, |
|||
onLoad() { |
|||
uni.showLoading({ |
|||
title: '加载中...' |
|||
}) |
|||
if (uni.getStorageSync('hiver_token')) { |
|||
if (uni.getStorageSync('wayValue') == 1) { |
|||
uni.reLaunch({ |
|||
url: '/pages/other/logistics' |
|||
}) |
|||
} else if (uni.getStorageSync('wayValue') == 0) { |
|||
uni.reLaunch({ |
|||
url: '/pages/index/index' |
|||
}) |
|||
} else if (uni.getStorageSync('wayValue') == 2) { |
|||
uni.reLaunch({ |
|||
url: '/pages/other/custom' |
|||
}) |
|||
} |
|||
} else { |
|||
uni.reLaunch({ |
|||
url: '/pages/login/login' |
|||
}) |
|||
} |
|||
uni.hideLoading(); |
|||
}, |
|||
methods: { |
|||
|
|||
} |
|||
} |
|||
</script> |
|||
|
|||
<style> |
|||
</style> |
|||
Loading…
Reference in new issue