<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
			   Vue.prototype.$checkAuth = () => {
			      if (!uni.getStorageSync('vuex_token')) {
			        uni.$emit("needLogin")
			        return false
			      }
			      return true
			    }
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	/* './common/uni-ui.scss'*/
	@import "uview-ui/index.scss";
	
</style>
