diff --git a/src/App.vue b/src/App.vue index 9fdddc8..0f52d32 100644 --- a/src/App.vue +++ b/src/App.vue @@ -20,22 +20,19 @@ wsClient.dataOb.subscribe(data => { } else if (data.type === "warn") { if (data.data.code === "wash_complete") { dialogContent.value = { - title: "提示", desc: "清洗管道已经完成", type: "alert", }; showDialog.value = true; } else if (data.data.code === "prefill_complete") { dialogContent.value = { - title: "提示", desc: "预充管道已经完成", type: "alert", }; showDialog.value = true; } else if (data.data.code === "dehumidify_complete") { dialogContent.value = { - title: "提示", - desc: "除湿已完成", + desc: "湿度已达到设定值,氮气已置换完毕。", type: "confirm", okText: "去喷涂", _brand: "dehumidify_complete", @@ -43,7 +40,6 @@ wsClient.dataOb.subscribe(data => { showDialog.value = true; } else if (data.data.code === "spray_complete") { dialogContent.value = { - title: "提示", desc: "喷涂结束,建议回首页清洗管道", type: "confirm", okText: "去清洗", diff --git a/src/components/Dialog.vue b/src/components/Dialog.vue index bcef7c2..d64bc37 100644 --- a/src/components/Dialog.vue +++ b/src/components/Dialog.vue @@ -1,11 +1,11 @@