hsy 2 月之前
父节点
当前提交
84f83efcab
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;
   }