初始化商家端
This commit is contained in:
32
pages/tabBar/no-login/index.vue
Normal file
32
pages/tabBar/no-login/index.vue
Normal file
@ -0,0 +1,32 @@
|
||||
<template>
|
||||
<view class="warp">
|
||||
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default{
|
||||
data(){
|
||||
return{}
|
||||
},
|
||||
onReady() {
|
||||
let token = global.token
|
||||
console.log(token)
|
||||
if(!token){
|
||||
uni.reLaunch({
|
||||
url:'/pages/tabBar/passwordLogi/passwordLogi'
|
||||
})
|
||||
}else{
|
||||
uni.switchTab({
|
||||
url:"/pages/tabBar/takeouTorders/takeouTorders"
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
page{
|
||||
background-color: #fff;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user