Commit 2cdbbb52 by 张恒

feat(subform): 添加禁用属性支持

- 为子表单组件添加 disabled 属性绑定
- 支持通过 column.componentProps.disabled 控制禁用状态
- 继承父级 isView 模式下的禁用逻辑
- 默认禁用状态设置为 false 保持向后兼容
parent 0a7be219
......@@ -207,6 +207,7 @@
:index="realindex + index"
:mainKey="mainKey"
:isView="isView"
:disabled="column.componentProps.disabled || isView || false"
v-model:value="record[column.dataIndex]"
@change="handleChange(column.componentType, column.dataIndex, index)"
:style="executeListStyle(record, column?.componentProps?.listStyle)"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment