mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(Field): rows not work
This commit is contained in:
parent
1f4ae70062
commit
092c5356e6
@ -33,6 +33,7 @@ export default createComponent({
|
|||||||
|
|
||||||
props: {
|
props: {
|
||||||
...cellProps,
|
...cellProps,
|
||||||
|
rows: [Number, String],
|
||||||
name: String,
|
name: String,
|
||||||
rules: Array,
|
rules: Array,
|
||||||
disabled: Boolean,
|
disabled: Boolean,
|
||||||
@ -426,6 +427,7 @@ export default createComponent({
|
|||||||
const inputProps = {
|
const inputProps = {
|
||||||
ref: 'input',
|
ref: 'input',
|
||||||
name: this.name,
|
name: this.name,
|
||||||
|
rows: this.rows,
|
||||||
style: null,
|
style: null,
|
||||||
class: bem('control', inputAlign),
|
class: bem('control', inputAlign),
|
||||||
value: this.modelValue,
|
value: this.modelValue,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user