mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 18:54:24 +00:00
fix(Field): rows not work
This commit is contained in:
@@ -33,6 +33,7 @@ export default createComponent({
|
||||
|
||||
props: {
|
||||
...cellProps,
|
||||
rows: [Number, String],
|
||||
name: String,
|
||||
rules: Array,
|
||||
disabled: Boolean,
|
||||
@@ -426,6 +427,7 @@ export default createComponent({
|
||||
const inputProps = {
|
||||
ref: 'input',
|
||||
name: this.name,
|
||||
rows: this.rows,
|
||||
style: null,
|
||||
class: bem('control', inputAlign),
|
||||
value: this.modelValue,
|
||||
|
Reference in New Issue
Block a user