<script>
	export default {
        globalData() {
        },
		onLaunch(options) {
            let userToken = this.vuex_user_token;
            let notLogin = [
                'pages/login/login',
            ];
            if(!userToken && (notLogin.indexOf(options.path) === -1)){
                this.$util.login();
            }
		},
        onShow(options){
            console.log('app show -->')
        },
        onLoad(option) {
            console.log('app load -->')
        }
    }
</script>

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