优化打包流程
This commit is contained in:
@@ -108,12 +108,14 @@ export default {
|
|||||||
if (count == 30) {
|
if (count == 30) {
|
||||||
clearInterval(timer)
|
clearInterval(timer)
|
||||||
loading.close()
|
loading.close()
|
||||||
|
this.$message.error("打包失败!")
|
||||||
} else this.instance.post("/node/autodeploy/confirmZip", null, {
|
} else this.instance.post("/node/autodeploy/confirmZip", null, {
|
||||||
params: {id}
|
params: {id}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res?.code == 0) {
|
if (res?.code == 0) {
|
||||||
clearInterval(timer)
|
clearInterval(timer)
|
||||||
loading.close()
|
loading.close()
|
||||||
|
this.getTableData()
|
||||||
} else count++
|
} else count++
|
||||||
}, 10000)
|
}, 10000)
|
||||||
})
|
})
|
||||||
@@ -152,7 +154,6 @@ export default {
|
|||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.getTableData()
|
this.getTableData()
|
||||||
this.search.areaId = this.user.info.areaId
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user