fix: highlight checkbox and radio control #707

This commit is contained in:
Hufe921
2024-07-25 20:12:45 +08:00
parent 72686fda1b
commit d939aa35ba
+2
View File
@@ -285,6 +285,7 @@ export function formatElementList(
// checkbox组件 // checkbox组件
elementList.splice(i, 0, { elementList.splice(i, 0, {
...controlContext, ...controlContext,
...controlDefaultStyle,
controlId, controlId,
value: '', value: '',
type: el.type, type: el.type,
@@ -332,6 +333,7 @@ export function formatElementList(
// radio组件 // radio组件
elementList.splice(i, 0, { elementList.splice(i, 0, {
...controlContext, ...controlContext,
...controlDefaultStyle,
controlId, controlId,
value: '', value: '',
type: el.type, type: el.type,