소스 검색

接口域名修改为ip

zhaobao 1 년 전
부모
커밋
6bbfe7cac1
2개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/assets/js/base.js
  2. 2 0
      src/components/dan/order/paid/Paid.vue

+ 2 - 1
src/assets/js/base.js

@@ -13,7 +13,8 @@ let ips = 'back.haiyaya.club';
 // let port = ":80";
 // let ips = '192.168.1.69:8898';
 // let ips = '192.168.3.240:8898';
-
+// ips = '192.168.3.5:8898';
+ips='39.107.51.86:8898'
 let wurl = 'http://' + ips;
 let ip = wurl;
 let ws = ips;

+ 2 - 0
src/components/dan/order/paid/Paid.vue

@@ -459,7 +459,9 @@
           let obj = {
             orderId: row.orderId,
           }
+          var loadingInstance = Loading.service({fullscreen: true, lock: true, text: '反结账中'});
           this.$axios.AxiosMethods("post", this.$api.orderRepealOrder, obj, function (res) {
+            loadingInstance.close()
             that.getTableDataFn();
             that.$refs.tabs.getTotleFn();
           })