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