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