fix(Field): rows not work

This commit is contained in:
chenjiahan 2020-08-18 17:53:40 +08:00
parent 1f4ae70062
commit 092c5356e6

View File

@ -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,