Browse Source

复制联淦vue看板分支

xiaost 2 years ago
parent
commit
44d2d79ebd
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/views/index.vue
  2. 1 1
      vue.config.js

+ 1 - 1
src/views/index.vue

@@ -37,7 +37,7 @@
           </div>
           <div class="d-flex aside-width">
             <div class="react-right bg-color-blue mr-3">
-              <span class="text fw-b">睿兴元制造数据分析</span>
+              <span class="text fw-b">江西联淦电子科技有限公司</span>
             </div>
             <div class="react-right mr-4 react-l-s">
               <span class="react-after"></span>

+ 1 - 1
vue.config.js

@@ -11,7 +11,7 @@ module.exports = {
   devServer: {
     proxy: {
       "/mes":{           // /proxy_url 这个用来和根路径 baseURL 进行匹配
-        target:'http://mes.ubtob.net:8099/mes/',   // target: 'http://mes.ubtob.net:8099/mes/', http://221.179.64.162:8099/mes/, 'http://localhost:8099/uas/' ,这个是填写跨域的请求域名+端口号,也就是要请求的URL(不包含URL路径)
+        target:'http://218.64.89.153:8099/mes/',   // target: 'http://mes.ubtob.net:8099/mes/', http://218.64.89.153:8099/mes/, 'http://localhost:8099/uas/' ,这个是填写跨域的请求域名+端口号,也就是要请求的URL(不包含URL路径)
         changeOrigin: true,  // 是否允许跨域请求,在本地会创建一个虚拟服务端,然后发送请求的数据,并同时接收请求的数据,这样服务端和服务端进行数据的交互就不会有跨域问题
         pathRewrite: {   // 路径重写
           '^/mes': '' // 替换target中的请求地址,原请求为 http://127.0.0.1:8000/kuayu 实际请求为 http://127.0.0.1:8000/proxy_url/kuayu