hsy hai 2 meses
pai
achega
84f83efcab
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/promotion/components/PaymentHistoryDialog.vue

+ 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;
   }