diff --git a/App.vue b/App.vue index 4054bd3..1cd0f97 100644 --- a/App.vue +++ b/App.vue @@ -39,7 +39,9 @@ onLaunch((options) => { }) .catch(err=>{ console.log('❌一体机获取定位失败,30s后尝试重新获取') - useLocationStore().getLocation() + setTimeout(() => { + useLocationStore().getLocation() + }, 3000); }) uQRListen = new IncreaseRevie(); inactivityManager = new GlobalInactivityManager(handleInactivity, 60 * 1000);