| import Taro from '@tarojs/taro'; | 
| import { useUserStoreWithOut } from '@/stores/modules/user'; | 
|   | 
| export function useLaunchOptions() { | 
|   const options = Taro.getLaunchOptionsSync(); | 
|   const userStore = useUserStoreWithOut(); | 
|   console.log('userStore: ', userStore); | 
|   if (userStore.firstLaunch) { | 
|     userStore.setFirstLaunch(false); | 
|     return options; | 
|   } | 
|   return {} as Taro.getLaunchOptionsSync.LaunchOptions; | 
| } |