<template>
    <!-- 多行输入框 -->
    <el-input
        type="textarea"
        v-model="formItem.value"
        :placeholder="listItem.placeholder"
        show-word-limit
        :minlength="listItem.verify.length ? listItem.verify.lengthMin : ''"
        :maxlength="listItem.verify.length ? listItem.verify.lengthMax : ''"
        :rows="3"
    ></el-input>
</template>

<script>
export default {
    name: 'FormTextarea',
    props: {
        listItem: { type: Object, default: () => ({}) },
        formItem: { type: Object, default: () => ({}) }
    }
}
</script>

<style lang="less" scoped>
</style>
