fix: 🐛 修复curd-single详情页的自定义组件disabled属性设置

修复curd-single详情页的自定义组件disabled属性设置
This commit is contained in:
theo committed 2026-03-18 16:04:16 +08:00
1 parent c35403e197
commit 781955352f
1 file changed
+6 -1
+6 -1
View File
@@ -61,7 +61,12 @@
@submit-click="handleSubmitClick"
>
<template #gender="scope">
<DictSelect v-model="scope.formData[scope.prop]" code="gender" v-bind="scope.attrs" />
<DictSelect
v-model="scope.formData[scope.prop]"
code="gender"
v-bind="scope.attrs"
:disabled="editModalConfig.form?.disabled"
/>
</template>
</page-modal>
</div>