diff --git a/src/views/firmware/firmwareUpdate/index.vue b/src/views/firmware/firmwareUpdate/index.vue index aae2573..1cfa3cf 100644 --- a/src/views/firmware/firmwareUpdate/index.vue +++ b/src/views/firmware/firmwareUpdate/index.vue @@ -189,7 +189,13 @@ export default { let snap = Object.assign({}, this.queryParams); delete snap.pageNum; delete snap.pageSize; - this.OTAUpdates(snap); + this.$confirm(`是否确认批量升级?`, "警告", { + confirmButtonText: "确定", + cancelButtonText: "取消", + type: "warning", + }).then(() => { + this.OTAUpdates(snap); + }).catch((res) => { }); } },