lilei 2 年之前
父節點
當前提交
d198cd1c51
共有 2 個文件被更改,包括 5 次插入2 次删除
  1. 3 0
      src/utils/mixin.js
  2. 2 2
      vue.config.js

+ 3 - 0
src/utils/mixin.js

@@ -101,6 +101,9 @@ const commonMixin = {
         if(this.addMoreLoading != undefined){
         if(this.addMoreLoading != undefined){
           this.addMoreLoading = a
           this.addMoreLoading = a
         }
         }
+        if(this.confirmLoading != undefined){
+          this.confirmLoading = a
+        }
       }
       }
     }
     }
   },
   },

+ 2 - 2
vue.config.js

@@ -107,9 +107,9 @@ const vueConfig = {
     // If you want to turn on the proxy, please remosve the mockjs /src/main.jsL11
     // If you want to turn on the proxy, please remosve the mockjs /src/main.jsL11
     proxy: {
     proxy: {
       '/api': {
       '/api': {
-        target: 'http://192.168.2.113:8660/ocs-admin',
+        // target: 'http://192.168.2.113:8660/ocs-admin',
         // target: 'https://t.ocs.360arrow.com/ocs-admin', //  练习
         // target: 'https://t.ocs.360arrow.com/ocs-admin', //  练习
-        // target: 'http://p.ocs.360arrow.com/ocs-admin', //  预发布
+        target: 'http://p.ocs.360arrow.com/ocs-admin', //  预发布
         ws: false,
         ws: false,
         changeOrigin: true,
         changeOrigin: true,
         pathRewrite: {
         pathRewrite: {