优化打包流程

This commit is contained in:
aixianling
2022-03-31 18:25:28 +08:00
parent fe10a5870c
commit b14c36ce16

View File

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