<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
			
		},
		onShow: function() {
			this.$store.commit('initConfig')
			if(uni.getStorageSync('token')){
                this.$store.commit('getUserInfo')
            }
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	@import '@/uni_modules/uv-ui-tools/index.scss';
	@import './styles/index.scss';

</style>