<script>
	import api from "@/utils/functions";

  export default {
		onLaunch: function() {
			console.log('App Launch')
		},
		onShow: function() {
			
		},
		onHide: function() {
			console.log('App Hide')
		},
		mounted() {

		},
    created() {
      if(!uni.getStorageSync('sysInfo')){
        uni.showLoading({title:'加载中'});
        api.uniSysInfo().then(data => {
          uni.hideLoading();
        }).catch(err => {
          uni.hideLoading();
          uni.$u.toast(err);
        });
      }
    },
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import "uview-plus/index.scss";
</style>