<template>
	<view >
		<LogonVue></LogonVue>
	</view>
</template>

<script setup>
	import LogonVue from '../../components/Logon/Logon.vue'
	import {
		ref
	} from 'vue'
	import {
		HTTP
	} from '@/api/http.js'
	import {
		onShow,
		onUnload,
		onPageScroll,
		onLoad
	} from '@dcloudio/uni-app'
	import {
		jieqiFn,
		BASE_URL
	} from '@/config'

	let fenXiangTime = setInterval(() => {

		let a = uni.getStorageSync("fenXiang")
		// console.log("a是啥啊", a)
		if (a == "true") {
			// WeixinJSBridge.call("showOptionMenu"); //显示右上角三个点按钮。
			// uni.removeStorageSync("fenXiang")
			clearInterval(fenXiangTime)
			// uni.showToast({
			// 	duration:20000,
			// 	icon:'none',
			// 	title:"测试infffinfff--------"+a
			// })
			uni.reLaunch({
				url:'/pages/index/index'
			});
		} else {
			WeixinJSBridge.call("hideOptionMenu"); //隐藏右上角三个点按钮。(获取到用户信息后才允许分享)
		}

	}, 1000)
</script>

<style lang="scss">

</style>