From 6c396c6ec8a4833858182f962094692cb09db74f Mon Sep 17 00:00:00 2001
From: dayou <853094838@qq.com>
Date: Tue, 23 Jul 2024 15:39:43 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=AE=BE=E7=BD=AE?=
=?UTF-8?q?=E5=99=A8=E4=B8=8D=E6=9B=B4=E6=96=B0=E9=97=AE=E9=A2=98=20(#361)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
web/src/materials/setters/widgets/CheckBox.vue | 2 +-
web/src/materials/setters/widgets/InputNumber.vue | 13 ++++++++++++-
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/web/src/materials/setters/widgets/CheckBox.vue b/web/src/materials/setters/widgets/CheckBox.vue
index 6df14725..8d2d7bef 100644
--- a/web/src/materials/setters/widgets/CheckBox.vue
+++ b/web/src/materials/setters/widgets/CheckBox.vue
@@ -68,7 +68,7 @@ watch(
() => props.formConfig.value,
(newVal: boolean) => {
if (newVal !== modelValue.value) {
- modelValue.value == !!newVal
+ modelValue.value = !!newVal
}
},
{
diff --git a/web/src/materials/setters/widgets/InputNumber.vue b/web/src/materials/setters/widgets/InputNumber.vue
index 12d535ae..b34e02f8 100644
--- a/web/src/materials/setters/widgets/InputNumber.vue
+++ b/web/src/materials/setters/widgets/InputNumber.vue
@@ -8,7 +8,7 @@
/>