mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-15 01:41:20 +08:00
20 lines
298 B
Vue
20 lines
298 B
Vue
|
<template>
|
||
|
<el-input
|
||
|
v-model="textarea"
|
||
|
:rows="2"
|
||
|
type="textarea"
|
||
|
placeholder="Please input"
|
||
|
/>
|
||
|
</template>
|
||
|
|
||
|
<script lang="ts">
|
||
|
import { defineComponent, ref } from 'vue'
|
||
|
export default defineComponent({
|
||
|
setup() {
|
||
|
return {
|
||
|
textarea: ref(''),
|
||
|
}
|
||
|
},
|
||
|
})
|
||
|
</script>
|