From 2f0fa3545b539e8b6f952ea82a1ca2350c64a0e8 Mon Sep 17 00:00:00 2001
From: web <candymxq888@outlook.com>
Date: 星期二, 22 四月 2025 17:28:48 +0800
Subject: [PATCH] fix:修改报警,添加参数

---
 src/components/Pagination/index.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/components/Pagination/index.vue b/src/components/Pagination/index.vue
index 03fa929..72038a1 100644
--- a/src/components/Pagination/index.vue
+++ b/src/components/Pagination/index.vue
@@ -19,8 +19,9 @@
 
 const props = defineProps({
   total: {
-    required: true,
-    type: Number
+      required: true,
+      type: Number,
+      default: 0
   },
   page: {
     type: Number,

--
Gitblit v1.9.3