<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
			let token = uni.getStorageSync("token")
			if (token) {
				plus.navigator.closeSplashscreen();
				return
			}
			uni.reLaunch({
				url: "/pages/login/login",
				success() {
					plus.navigator.closeSplashscreen();
				}
			})
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	@import "./uni_modules/vk-uview-ui/index.scss";
</style>