From 92034e64c9bb28c262b0fcb90660b58328aa2f5e Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期四, 23 十月 2025 14:35:05 +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