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 (#5590)
This commit is contained in:
parent
16597562f0
commit
64451eaaee
@ -15,6 +15,7 @@ export default createComponent({
|
|||||||
props: {
|
props: {
|
||||||
...cellProps,
|
...cellProps,
|
||||||
error: Boolean,
|
error: Boolean,
|
||||||
|
disabled: Boolean,
|
||||||
readonly: Boolean,
|
readonly: Boolean,
|
||||||
autosize: [Boolean, Object],
|
autosize: [Boolean, Object],
|
||||||
leftIcon: String,
|
leftIcon: String,
|
||||||
@ -232,6 +233,7 @@ export default createComponent({
|
|||||||
},
|
},
|
||||||
attrs: {
|
attrs: {
|
||||||
...this.$attrs,
|
...this.$attrs,
|
||||||
|
disabled: this.disabled,
|
||||||
readonly: this.readonly
|
readonly: this.readonly
|
||||||
},
|
},
|
||||||
on: this.listeners,
|
on: this.listeners,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user