tj
2025-05-28 6ef1b14f735acdc3ff77a50da1bb09a5bb983dcc
App.vue
@@ -1,7 +1,12 @@
<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> = {}
@@ -37,7 +42,6 @@
  uni.getSystemSetting({
    success: (e: any) => {
      debugger;
      try {
        const custom = uni.getMenuButtonBoundingClientRect()
        uni.setStorageSync('StatusBar', e.statusBarHeight)