diff --git a/config/request.js b/config/request.js index 7140dbe..792e4c9 100644 --- a/config/request.js +++ b/config/request.js @@ -8,14 +8,8 @@ export default () => { // 初始化请求配置 uni.$u.http.setConfig((config) => { - let envBaseUrl = process.env.VUE_APP_API_URL - // #ifdef APP-PLUS config.baseURL = baseUrl; // 测试地址 - #else - if(baseUrl){ - config.baseURL = baseUrl - } // #endif return config }); diff --git a/unpackage/dist/build/web/index.html b/unpackage/dist/build/web/index.html index c180a55..7d9ffab 100644 --- a/unpackage/dist/build/web/index.html +++ b/unpackage/dist/build/web/index.html @@ -1,2 +1,2 @@