1
0
mirror of https://gitee.com/vant-contrib/vant.git synced 2025-04-06 03:57:59 +08:00

chore(Field): move disabled from attrs to props ()

This commit is contained in:
陈嘉涵 2020-01-16 19:56:12 +08:00
parent 16597562f0
commit 64451eaaee

@ -15,6 +15,7 @@ export default createComponent({
props: {
...cellProps,
error: Boolean,
disabled: Boolean,
readonly: Boolean,
autosize: [Boolean, Object],
leftIcon: String,
@ -232,6 +233,7 @@ export default createComponent({
},
attrs: {
...this.$attrs,
disabled: this.disabled,
readonly: this.readonly
},
on: this.listeners,