fix: 修复某些时候单选框只读样式不对的问题

This commit is contained in:
gaoyunqi
2024-04-25 10:17:57 +08:00
parent 64140ebbca
commit d6cdb7ee26

View File

@ -81,7 +81,9 @@
const isCamelCase = inject<boolean>('isCamelCase', false); const isCamelCase = inject<boolean>('isCamelCase', false);
// Embedded in the form, just use the hook binding to perform form verification // Embedded in the form, just use the hook binding to perform form verification
const checked = ref<string | number>(''); const checked = ref<string | number>('');
const disabled = attrs.value.disabled; const disabled = computed(()=>{
return attrs.value.disabled
});
// Processing options value // Processing options value
const getOptions = computed(() => { const getOptions = computed(() => {
const { labelField, valueField, numberToString } = props; const { labelField, valueField, numberToString } = props;