devilhell il y a 2 ans
Parent
commit
76ec31468f

+ 5 - 3
imcs-bt-fe/imcs-bt-fe/imcs-ui/.env.development

@@ -7,10 +7,12 @@ VUE_APP_PROJECT_NAME = 'zuihou-ui'
 VUE_APP_WS_URL = 'ws://127.0.0.1:8764/ws/'
 
 # SpringCloud项目使用这个 开发环境请求域名前缀, 该变量仅仅开发环境需要设置
-#VUE_APP_DEV_REQUEST_DOMAIN_PREFIX = 'http://localhost:8764'
-#VUE_APP_DEV_REQUEST_DOMAIN_PREFIX = 'http://tangyh.top:10000'
+#VUE_APP_DEV_REQUEST_DOMAIN_PREFIX = 'http://123.56.250.113/'
+#VUE_APP_DEV_REQUEST_DOMAIN_PREFIX = 'http://123.56.250.113/'
 # SpringBoot 项目使用这个
-VUE_APP_DEV_REQUEST_DOMAIN_PREFIX = 'http://127.0.0.1:8764'
+#VUE_APP_DEV_REQUEST_DOMAIN_PREFIX = 'test.baotingsmart.com'
+#VUE_APP_DEV_REQUEST_DOMAIN_PREFIX = 'http://test.baotingsmart.com'
+VUE_APP_DEV_REQUEST_DOMAIN_PREFIX = 'https://test.baotingsmart.com'
 
 # 请求域名前缀, 该变量仅仅生产环境需要设置
 VUE_APP_PROD_REQUEST_DOMAIN_PREFIX = ''

+ 1 - 1
imcs-bt-fe/imcs-bt-fe/imcs-ui/package.json

@@ -55,7 +55,7 @@
     "showdown": "^1.9.1",
     "sortablejs": "1.8.4",
     "spark-md5": "^3.0.1",
-    "vue": "2.6.10",
+    "vue": "^2.6.10",
     "vue-baidu-map": "^0.21.22",
     "vue-count-to": "^1.0.13",
     "vue-echarts": "^6.0.0-rc.5",

+ 6 - 6
imcs-bt-fe/imcs-bt-fe/imcs-ui/vue.config.js

@@ -56,12 +56,12 @@ module.exports = {
           // SpringCloud 项目使用这段配置
           //['^' + proxyUrl]: "/imcs"
           // SpringBoot 项目 请使用以下的配置
-            ['^/api/oauth']: '/',
-            ['^/api/authority']: '/',
-            ['^/api/file']: '/',
-            ['^/api/msgs']: '/',
-            ['^/api/gateway']: '/gateway',
-            ['^/api/gate']: '/',
+            // ['^/api/oauth']: '/',
+            // ['^/api/authority']: '/',
+            // ['^/api/file']: '/',
+            // ['^/api/msgs']: '/',
+            // ['^/api/gateway']: '/gateway',
+            // ['^/api/gate']: '/',
         },
         https:true
       }