3
0
Эх сурвалжийг харах

[Wip 0000] 接口重对接

houzekong 1 сар өмнө
parent
commit
4307b26d10

+ 2 - 2
src/views/monitor/sealedMonitor/components/RealtimeDetailsModal.vue

@@ -123,8 +123,8 @@
 
       function fetchDetailData() {
         const { deptId, goafId } = dataRef.value;
-        getGoafData({ deptId, goafId }).then((r) => {
-          dataRef.value = last(r);
+        getGoafData({ deptId, goafId }).then(({ records }) => {
+          dataRef.value = last(records);
           push(dataRef.value);
         });
       }