<script>
	export default {
		onLaunch: function() {
			// console.log('App Launch')
			// const path = this.$route.path;
			// console.log(path)
			//     if (path === '/') {
			//       uni.redirectTo({ url: '/pages/index/index' });
			//     } else if (path === '/pages/canteenBackend') {
			// 	   console.log("满足这个路径")
			//       uni.redirectTo({ url: '/pages/backend/backend' });
			//     } else {
			//       uni.redirectTo({ url: '/pages/index/index' }); // 默认入口
			//     }
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/*每个页面公共css */
</style>
