wang xiao 1 rok temu
rodzic
commit
eca378a235
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/pages/Iot/thirdDevice/index.vue

+ 1 - 1
src/pages/Iot/thirdDevice/index.vue

@@ -23,7 +23,7 @@
     </template>
     <template #render="{column, record}" >
       <template v-if="column.key === 'onLineState'">
-        {{record.onLineState == 0 ? '离线' : '在线'}}
+        {{record.onLineState == 2 ? '在线' : '离线'}}
       </template>
       <template v-if="column.key === 'action'" >
         <a-space>