Selaa lähdekoodia

修复部署bug

xiongzhu 7 vuotta sitten
vanhempi
commit
c50962fa00
1 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 3 3
      src/main/vue/src/pages/DeploySystem.vue

+ 3 - 3
src/main/vue/src/pages/DeploySystem.vue

@@ -74,7 +74,7 @@
                 }).then(res => {
                 }).then(res => {
                     if (res.status === 201) {
                     if (res.status === 201) {
                         this.startTime = new Date().getTime();
                         this.startTime = new Date().getTime();
-                        return axios.get(`${res.headers['location']}api/json`, null, {
+                        return axios.get(`${res.headers['location']}api/json`, {
                             auth: this.auth
                             auth: this.auth
                         })
                         })
                     } else {
                     } else {
@@ -90,7 +90,7 @@
                 });
                 });
             },
             },
             pollingStatus() {
             pollingStatus() {
-                axios.get(`${this.url}api/json`, null, {
+                axios.get(`${this.url}api/json`, {
                     auth: this.auth
                     auth: this.auth
                 }).then(res => {
                 }).then(res => {
                     if (res.status === 200) {
                     if (res.status === 200) {
@@ -132,7 +132,7 @@
                         }
                         }
                     }
                     }
                 });
                 });
-                axios.get(`${this.url}/logText/progressiveText?start=0`, null, {
+                axios.get(`${this.url}/logText/progressiveText?start=0`, {
                     auth: this.auth
                     auth: this.auth
                 }).then(res => {
                 }).then(res => {
                     if (res.status === 200) {
                     if (res.status === 200) {