Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: RefForm页面新增只读功能按钮 #3346

Merged
merged 10 commits into from
Nov 27, 2023
2 changes: 2 additions & 0 deletions src/views/demo/form/RefForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
<a-button @click="setProps({ size: 'default' })" class="mr-2"> 还原Size </a-button>
<a-button @click="setProps({ disabled: true })" class="mr-2"> 禁用表单 </a-button>
<a-button @click="setProps({ disabled: false })" class="mr-2"> 解除禁用 </a-button>
<a-button @click="setProps({ readonly: true })" class="mr-2"> 只读表单 </a-button>
<a-button @click="setProps({ readonly: false })" class="mr-2"> 解除只读 </a-button>
<a-button @click="setProps({ compact: true })" class="mr-2"> 紧凑表单 </a-button>
<a-button @click="setProps({ compact: false })" class="mr-2"> 还原正常间距 </a-button>
<a-button @click="setProps({ actionColOptions: { span: 8 } })" class="mr-2">
Expand Down