<template>
	<view class="content">

	</view>
</template>

<script>
	import {
		getToken
	} from "@/utils/auth";

	export default {
		data() {
			return {

			}
		},
		onLoad() {
      if(getToken()){
        //跳转首页
        uni.navigateTo({
          url: '/pages-home/home/home'
        })
      }else{
        uni.navigateTo({
          url: '/pages/login/login'
        })
      }
		},
		methods: {

		}
	}
</script>

<style>

</style>
