From 27e7433ccf8adae78c7adb2bf7b578a7ae64174e Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期四, 23 十月 2025 13:24:29 +0800
Subject: [PATCH] fix: bug

---
 src/views/Home/Home.vue |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/views/Home/Home.vue b/src/views/Home/Home.vue
index 3af683d..761c9e1 100644
--- a/src/views/Home/Home.vue
+++ b/src/views/Home/Home.vue
@@ -402,6 +402,7 @@
     productSchemeIdNumber: '',
     effectStartTime: dayjs().add(1, 'day').format('YYYY-MM-DD'),
     effectEndTime: '',
+    isOnLineInsurance: false,
   },
   closeAfterConfirm: false,
 });
@@ -516,7 +517,9 @@
 }
 
 const { dialogProps: dialogInstructionsProps, dialogState: dialogInstructionsState } = useDialog({
-  onConfirm: handleUpload,
+  onConfirm: () => {
+    return handleUpload(true);
+  },
 });
 
 function handleOpenInstructions() {
@@ -528,10 +531,11 @@
   }
 }
 
-async function handleUpload() {
+async function handleUpload(isOnLineInsurance = false) {
   handleAdd({
     serialNum: `${dayjs().format('YYYYMMDD')}${_.random(0, 9999).toString().padStart(4, '0')}`,
     url: [] as UploadUserFile[],
+    isOnLineInsurance,
   });
 }
 

--
Gitblit v1.9.1