mirror of
https://github.com/element-plus/element-plus.git
synced 2025-08-16 03:53:39 +08:00

* 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>
26 lines
466 B
Vue
26 lines
466 B
Vue
<template>
|
|
<el-input
|
|
v-model="text"
|
|
style="width: 240px"
|
|
maxlength="10"
|
|
placeholder="Please input"
|
|
show-word-limit
|
|
type="text"
|
|
/>
|
|
<div style="margin: 20px 0" />
|
|
<el-input
|
|
v-model="textarea"
|
|
maxlength="30"
|
|
style="width: 240px"
|
|
placeholder="Please input"
|
|
show-word-limit
|
|
type="textarea"
|
|
/>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { ref } from 'vue'
|
|
const text = ref('')
|
|
const textarea = ref('')
|
|
</script>
|