mirror of
https://github.com/youzan/vant.git
synced 2025-10-15 15:40:52 +00:00
chore(Field): move disabled from attrs to props (#5590)
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user