mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-24 02:16:12 +08:00
fix field
This commit is contained in:
parent
4e4091835f
commit
0e9597d218
@ -70,11 +70,7 @@ export default {
|
|||||||
cols: [String, Number],
|
cols: [String, Number],
|
||||||
autosize: {
|
autosize: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false,
|
default: false
|
||||||
validator(value) {
|
|
||||||
if (value && this.type !== 'textarea') return false;
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user