fix: 题型切换 CheckboxGroup 基础设置组件状态监控导致问题 (#177)

This commit is contained in:
alwayrun 2024-05-28 18:15:28 +08:00 committed by GitHub
parent 08feb06d9c
commit 371a3e1078
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -41,7 +41,7 @@ const handleCheckboxChange = (key: string, value: boolean) => {
const optionsValue = reactive<any>(props.formConfig?.value) const optionsValue = reactive<any>(props.formConfig?.value)
watch( watch(
props.formConfig.value, () => props.formConfig?.value,
(val) => { (val) => {
const keys = Object.keys(val) const keys = Object.keys(val)