mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-04 20:27:44 +08:00
48a056b051
* docs: modify layout style * docs: modify nav padding * docs: update style * feat: update * docs: upadte * docs: update * docs: modify layout style * docs: update style * feat: update * docs: upadte * docs: update * docs: update * docs: update * docs: remove empty script * docs: update --------- Co-authored-by: kooriookami <bingshuanglingluo@163.com> Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
24 lines
460 B
Vue
24 lines
460 B
Vue
<template>
|
|
<el-input
|
|
v-model="textarea1"
|
|
style="width: 240px"
|
|
autosize
|
|
type="textarea"
|
|
placeholder="Please input"
|
|
/>
|
|
<div style="margin: 20px 0" />
|
|
<el-input
|
|
v-model="textarea2"
|
|
style="width: 240px"
|
|
:autosize="{ minRows: 2, maxRows: 4 }"
|
|
type="textarea"
|
|
placeholder="Please input"
|
|
/>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { ref } from 'vue'
|
|
const textarea1 = ref('')
|
|
const textarea2 = ref('')
|
|
</script>
|