<template>
	<view>
		<u-loading-page :loading="true" bgColor="#F5F5F5"></u-loading-page>
	</view>
</template>

<script>
	import {mapState,mapMutations} from 'vuex'
	export default {
		computed: {
			...mapState('m_children', ['semesterList'])
		},
		data() {
			return {
				
			};
		},
		onLoad() {
			//缓存中同步token
			const value = uni.getStorageSync('token')
			if(!value){
				uni.redirectTo({
					url:'/subpkg/login/login'
				})
			} else{
				uni.switchTab({
					url:'/pages/home/home'
				})
			}
		},
		methods:{
		}
	}
</script>

<style lang="scss">

</style>
