From 692dd6c57d7fdf7e4f48fe605bc760972cd563a7 Mon Sep 17 00:00:00 2001 From: Leo Q Date: Wed, 27 Mar 2024 18:36:24 +0800 Subject: [PATCH] fix data check convert data to boolean using three ! --- frontend/components/HForm.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/components/HForm.vue b/frontend/components/HForm.vue index c243d4ee..076147e2 100644 --- a/frontend/components/HForm.vue +++ b/frontend/components/HForm.vue @@ -207,7 +207,7 @@ export default { const jsonFormData = {} for (const [name, data] of Object.entries(this.formData)) { - if (!data) { + if (!!!data) { continue }