Преглед изворни кода

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

hongrunxia пре 2 година
родитељ
комит
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);
                 tableData.push(el);
               }
               }
             })
             })
-            dataSource.value = tableData
+            dataSource.value = tableData.reverse()
           }
           }
         } else {
         } else {
           dataSource.value = []
           dataSource.value = []