WXL
2 天以前 82107ee6861de080c1c2e73daf57322a6e68ecbe
维护
已修改4个文件
16 ■■■■ 文件已修改
.env.development 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.env.production 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
manifest.json 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
stores/user.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.env.development
@@ -1,6 +1,6 @@
# 开发环境API地址
# VITE_APP_BASE_API = 'http://www.qdopo.com:9095'
# VITE_APP_BASE_API = 'http://192.168.100.10:8080'
# VITE_APP_BASE_API = 'http://localhost:8080'
VITE_APP_BASE_API = 'https://opo.qduh.cn:443'
VITE_APP_BASE_API = 'http://localhost:8080'
# VITE_APP_BASE_API = 'https://opo.qduh.cn:443'
VUE_APP_PLATFORM = 'h5'
.env.production
@@ -1,6 +1,6 @@
# 生产环境API地址
# VITE_APP_BASE_API = 'http://www.qdopo.com:9095'
# VITE_APP_BASE_API = 'http://192.168.100.10:8080'
# VITE_APP_BASE_API = 'http://localhost:8080'
VITE_APP_BASE_API = 'https://opo.qduh.cn:443'
VITE_APP_BASE_API = 'http://localhost:8080'
# VITE_APP_BASE_API = 'https://opo.qduh.cn:443'
VUE_APP_PLATFORM = 'h5'
manifest.json
@@ -92,8 +92,8 @@
                "/api" : {
                    // "target" : "http://www.qdopo.com:9095",
                    // "target": "http://192.168.100.10:8080",
                    // "target" : "http://localhost:8080",
                    "target" : "https://opo.qduh.cn:443",
                    "target" : "http://localhost:8080",
                    // "target" : "https://opo.qduh.cn:443",
                    "changeOrigin" : true
                }
            }
stores/user.js
@@ -9,8 +9,8 @@
  // const baseUrlHt =  ref(window.location.origin+'/api');
  // const baseUrlHt =  ref('http://www.qdopo.com:9095');
  // const baseUrlHt = ref("http://192.168.100.10:8080");
  // const baseUrlHt = ref("http://localhost:8080");
  const baseUrlHt = ref("https://opo.qduh.cn:443");
  const baseUrlHt = ref("http://localhost:8080");
  // const baseUrlHt = ref("https://opo.qduh.cn:443");
  // getters
  const isLoggedIn = computed(() => !!token.value);