fix: highlight checkbox and radio control #707
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user