You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
525 B
35 lines
525 B
<docs>
|
|
---
|
|
order: 7
|
|
title:
|
|
zh-CN: 文本域
|
|
en-US: TextArea
|
|
---
|
|
|
|
## zh-CN
|
|
|
|
用于多行输入。
|
|
|
|
## en-US
|
|
|
|
For multi-line input.
|
|
|
|
</docs>
|
|
<template>
|
|
<a-textarea v-model:value="value" placeholder="Basic usage" :rows="4" />
|
|
<br />
|
|
<br />
|
|
<a-textarea :rows="4" placeholder="maxLength is 6" :maxlength="6" />
|
|
</template>
|
|
<script lang="ts">
|
|
import { defineComponent, ref } from 'vue';
|
|
export default defineComponent({
|
|
setup() {
|
|
const value = ref<string>('');
|
|
return {
|
|
value,
|
|
};
|
|
},
|
|
});
|
|
</script>
|