mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 18:54:24 +00:00
fix field
This commit is contained in:
@@ -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
|
||||
}
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user