吉安感知网项目-前端
罗广辉
2026-02-05 f155b8715f7a2f2f82de88246f584aaf4eedb791
Merge remote-tracking branch 'origin/master'
2 files modified
10 ■■■■ changed files
uniapps/work-app/src/App.vue 4 ●●●● patch | view | raw | blame | history
uniapps/work-app/src/config/env.js 6 ●●●● patch | view | raw | blame | history
uniapps/work-app/src/App.vue
@@ -11,8 +11,8 @@
onShow(async () => {
  console.log("App Show");
  // 应用从后台返回前台时,重新初始化位置服务
  if (userStore.userInfo && locationStore) {
  // 确保只有在用户已登录的情况下才初始化位置服务
  if (userStore.userInfo && userStore.userInfo.username && locationStore) {
    try {
      await locationStore.initLocationService();
    } catch (error) {
uniapps/work-app/src/config/env.js
@@ -12,10 +12,10 @@
const development = {
  VITE_APP_ENV:'development',
  // 开发环境这里改为自己的
  // VITE_APP_WEBVIEW_URL: 'https://wrj.shuixiongit.com/drone-app-web-view/#/webViewWrapper',
  VITE_APP_WEBVIEW_URL: 'http://192.168.1.157:5179/mobile-web-view/#/webViewWrapper',
  VITE_APP_WEBVIEW_URL: 'https://wrj.shuixiongit.com/mobile-web-view/#/webViewWrapper',
  // VITE_APP_WEBVIEW_URL: 'https://192.168.1.157:5179/mobile-web-view/#/webViewWrapper',
  VITE_API_BASE_URL: 'http://218.202.104.82:8200',
  VITE_API_BASE_URL_GD: 'http://192.168.1.33',
  VITE_API_BASE_URL_GD: 'http://219.146.74.42:8015/api/',
  // VITE_API_BASE_URL: 'https://aisky.org.cn/api',
  VITE_APP_WS_API_URL:'wss://wrj.shuixiongit.com/drone-wss/api/v1/ws',