chenrui  2 anni fa
parent
commit
e26367639d
1 ha cambiato i file con 5 aggiunte e 2 eliminazioni
  1. 5 2
      src/pages/Common/home.vue

+ 5 - 2
src/pages/Common/home.vue

@@ -1195,7 +1195,7 @@ export default {
                 type: "success",
                 duration: 800,
                 message:
-                  item.btn_icon == "1" ? "关闭任务成功!" : "打开任务成功!",
+                  item.btn_icon == "0" ? "关闭任务成功!" : "打开任务成功!",
               });
             })
             .catch(() => {
@@ -1214,7 +1214,10 @@ export default {
               this.$message({
                 type: "success",
                 duration: 800,
-                message: "关闭备用任务成功!",
+                message:
+                  item.btn_icon == "0"
+                    ? "关闭在线控制成功!"
+                    : "打开在线控制成功!",
               });
             })
             .catch(() => {