hsy 2 mēneši atpakaļ
vecāks
revīzija
84f83efcab

+ 1 - 1
src/views/promotion/components/PaymentHistoryDialog.vue

@@ -89,7 +89,7 @@ const fetchRecords = async () => {
         // size: 1,
       }
     });
-    records.value = data.list;
+    records.value = data?.list || [];
   } finally {
     loading.value = false;
   }