<script>
	import { mapMutations } from 'vuex';
	export default {
		onLaunch: function() {
			console.log('App Launch')
			this.loadSession();
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		},
		methods: {
			...mapMutations(['loadSession'])
		},
	}
</script>

<style>
	/*每个页面公共css */
	page,.app{
		height: 100%;
	}
</style>
