优化打包流程
This commit is contained in:
		| @@ -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> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user