Explorar el Código

采集状态更改

qinhb hace 9 meses
padre
commit
8612463185
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/device/instance/index.vue

+ 1 - 1
src/views/device/instance/index.vue

@@ -303,7 +303,7 @@ option.value = Object.assign(option.value, {
       display: false,
       html: true,
       formatter: (val) => {
-        if (val.onlineState === "1") {
+        if (val.collectState === "1") {
           return '<b class="el-tag el-tag--success el-tag--light">已连接</b>';
         } else {
           return '<b class="el-tag el-tag--warning el-tag--light">未连接</b>';