init
This commit is contained in:
15
pages/welcome/welcome.vue
Normal file
15
pages/welcome/welcome.vue
Normal file
@@ -0,0 +1,15 @@
|
||||
<template>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
onLoad () {
|
||||
if (uni.getStorageSync("tourism_token")) {
|
||||
uni.reLaunch({ url: '/pages/index/index' })
|
||||
} else uni.reLaunch({ url: '/pages/login/login' })
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
</style>
|
Reference in New Issue
Block a user