Commit 917be7a2 authored by 黄贤军's avatar 黄贤军

/

parent 2a3297c6
Pipeline #20923 passed with stage
in 1 minute and 7 seconds
...@@ -253,7 +253,7 @@ export default { ...@@ -253,7 +253,7 @@ export default {
async upgrade3(app_count) { async upgrade3(app_count) {
for (let i = 1; i <= app_count; i++) { for (let i = 1; i <= app_count; i++) {
console.log(i) console.log(i)
await axios.get(`mesAPI/upgrade/remote/step3/${i}`).then(res => { await axios.get(`mesAPI/upgrade/remote/step3/${i}/`).then(res => {
if (app_count > 10) { this.percentage = this.percentage + 2 } else { if (app_count > 10) { this.percentage = this.percentage + 2 } else {
this.percentage = this.percentage + 4 this.percentage = this.percentage + 4
} }
...@@ -275,7 +275,7 @@ export default { ...@@ -275,7 +275,7 @@ export default {
}, },
async upgrade5(app_count) { async upgrade5(app_count) {
for (let i = 1; i <= app_count; i++) { for (let i = 1; i <= app_count; i++) {
await axios.get(`mesAPI/upgrade/remote/step5/${i}`).then(res => { await axios.get(`mesAPI/upgrade/remote/step5/${i}/`).then(res => {
if (app_count > 10) { this.percentage = this.percentage + 2 } else { if (app_count > 10) { this.percentage = this.percentage + 2 } else {
this.percentage = this.percentage + 4 this.percentage = this.percentage + 4
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment