소스 검색

1. 设备监测列表数据顺序反转

hongrunxia 11 달 전
부모
커밋
ada8ba5a79
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/vent/monitorManager/deviceMonitor/components/device/index.vue

+ 1 - 1
src/views/vent/monitorManager/deviceMonitor/components/device/index.vue

@@ -653,7 +653,7 @@ async function getDataSource() {
                 tableData.push(el);
               }
             })
-            dataSource.value = tableData
+            dataSource.value = tableData.reverse()
           }
         } else {
           dataSource.value = []