<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>
