| | |
| | | <script setup lang="ts"> |
| | | import { onLaunch, onShow, onHide } from '@dcloudio/uni-app' |
| | | |
| | | import { useUserStore } from '@/store/user' |
| | | const userStore = useUserStore() |
| | | onLaunch(async (options: any) => { |
| | | |
| | | // 初始化用户状态 |
| | | userStore.initLoginState() |
| | | |
| | | const query = options.q ? decodeURIComponent(options.q) : '' |
| | | const querydto: Record<string, string> = {} |
| | | |
| | |
| | | |
| | | uni.getSystemSetting({ |
| | | success: (e: any) => { |
| | | debugger; |
| | | try { |
| | | const custom = uni.getMenuButtonBoundingClientRect() |
| | | uni.setStorageSync('StatusBar', e.statusBarHeight) |