mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-07 15:45:08 +08:00
fix: error
This commit is contained in:
@ -11,7 +11,7 @@ export const useRenderCheckbox = () => {
|
||||
typeof defineComponent
|
||||
>
|
||||
return item?.componentProps?.options?.map((option) => {
|
||||
const { value, ...other } = option
|
||||
const { ...other } = option
|
||||
return (
|
||||
<Com label={option[labelAlias || 'value']} {...other}>
|
||||
{option[valueAlias || 'label']}
|
||||
|
@ -11,7 +11,7 @@ export const useRenderRadio = () => {
|
||||
typeof defineComponent
|
||||
>
|
||||
return item?.componentProps?.options?.map((option) => {
|
||||
const { value, ...other } = option
|
||||
const { ...other } = option
|
||||
return (
|
||||
<Com label={option[labelAlias || 'value']} {...other}>
|
||||
{option[valueAlias || 'label']}
|
||||
|
Reference in New Issue
Block a user