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

This commit is contained in:
alwayrun 2024-05-28 18:15:28 +08:00 committed by sudoooooo
parent eb6ba7a1a5
commit a64e820e80

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)