feat(Form): add disabled and readonly prop (#7830)

* feat(Form): add disabled and readonly prop

* chore(Field): 使用 getProp 方法

* fix(Field): 将 computed 改为直接取值
This commit is contained in:
Mikasa33
2020-12-30 17:31:40 +08:00
committed by GitHub
parent 568ba3d815
commit 149cde1ce1
4 changed files with 36 additions and 18 deletions
+2
View File
@@ -7,6 +7,8 @@ const [createComponent, bem] = createNamespace('form');
export default createComponent({
props: {
disabled: Boolean,
readonly: Boolean,
colon: Boolean,
labelWidth: [Number, String],
labelAlign: String,