feat(Field): add name prop

This commit is contained in:
陈嘉涵
2020-02-07 14:33:44 +08:00
parent 03c826c4d4
commit 67bec61c6d
5 changed files with 23 additions and 2 deletions
+2
View File
@@ -17,6 +17,7 @@ export default createComponent({
props: {
...cellProps,
name: String,
error: Boolean,
disabled: Boolean,
readonly: Boolean,
@@ -237,6 +238,7 @@ export default createComponent({
},
attrs: {
...this.$attrs,
name: this.name,
disabled: this.disabled,
readonly: this.readonly,
placeholder: this.placeholder,