<template>
	<mobile-frame>
		<view class="main">
			系统首页
		</view>
	</mobile-frame>
</template>

<script>
	export default {
		components: {},
		data() {
			return {};
		},
		onLoad: function() {},
		onShow: function() {
			const that = this;
			that.search();
		},
		methods: {
			search() {
				// 查询当前所在平台
				uni.getSystemInfo({
					success: async function(res) {
						uni.setStorage({
							key: 'system',
							data: res,
							success: function() {
								uni.redirectTo({
									url: `/pages/home/index`
									// url: `/pagesMy/order/info`
								})
							}
						});
					}
				});
			},
		}
	}
</script>

<style lang="scss">
</style>
