auto check options
This commit is contained in:
parent
38ddf4b909
commit
610b9efc85
|
|
@ -375,6 +375,8 @@ const SingleCheckbox = ({
|
|||
`
|
||||
)}
|
||||
onClick={() => {
|
||||
if (item.checked) return;
|
||||
|
||||
if (item.options) {
|
||||
let idx = val.findIndex((e) => {
|
||||
if (typeof e === "object" && e.value === item.value) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue