<script>
import { watch } from 'vue';
import store from '@/store'
import { onLaunch, onShow, onHide } from "@dcloudio/uni-app";
import soketMixin from '@/utils/soketMixin'
export default {
	data: {
		userId: uni.getStorageSync('userId') //读取本地存储
	},
	mixins: [soketMixin],
	onLaunch: function () {
		//develop:开发版 trial:体验版  release:正式版
	
	},
	// onShow: function () {
	// 	//设置默认角色
	// 	//  uni.setStorageSync('userType', 1);
	// 	console.log('App Show')
	// },
	// onHide: function () {
	// 	console.log('App Hide')
	// },
	// onMounted() {

	// 	console.log("TCL: onMounted -> onMounted", onMounted)

	// },
}

</script>

<style lang="scss">
/* 注意要写在第一行，同时给style标签加入lang="scss"属性 */
@import "uview-plus/index.scss";
@import '@/static/scss/index.scss';
</style>