
<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
			console.log(this.$store.state)
			console.log(this.$router.history.current.path)
			if(this.$store.state.token == '' && this.$router.history.current.path != '/pages/entry/auth'){
				console.log(66)
				/*uni.navigateTo({
					url: '/pages/entry/auth?reback_url='+location.href
				})
				*/
			
			}
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<!-- <style>
	/*每个页面公共css */
</style> -->
<style lang="scss">
	/* 注意要写在第一行，同时给style标签加入lang="scss"属性 */
	@import "uview-ui/index.scss";
</style>
