Skip to content

Commit c4f5d62

Browse files
author
xueyuan
committed
docs(input): 移除输入组件文档中的回车键事件示例
1 parent a6c29ff commit c4f5d62

2 files changed

Lines changed: 0 additions & 15 deletions

File tree

packages/varlet-ui/src/input/docs/en-US.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,6 @@ const selectAll = () => {
7676
<var-input placeholder="Textarea" textarea v-model="value10" />
7777
<var-input placeholder="Small Size" size="small" v-model="value11" />
7878
<var-input placeholder="Removes whitespace from both ends of this string" v-model.trim="value12" />
79-
<var-input
80-
placeholder="Try pressing Enter"
81-
v-model="value15"
82-
@enter="() => {}"
83-
/>
8479
<var-space>
8580
<var-input
8681
ref="inputRef"
@@ -181,11 +176,6 @@ const selectAll = () => {
181176
<var-input variant="outlined" placeholder="Textarea" textarea v-model="value10" />
182177
<var-input variant="outlined" placeholder="Small Size" size="small" v-model="value11" />
183178
<var-input variant="outlined" placeholder="Removes whitespace from both ends of this string" v-model.trim="value12" />
184-
<var-input
185-
placeholder="Try pressing Enter"
186-
v-model="value15"
187-
@enter="() => {}"
188-
/>
189179
<var-space>
190180
<var-input
191181
ref="inputRef"

packages/varlet-ui/src/input/docs/zh-CN.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,6 @@ const selectAll = () => {
8181
<var-input placeholder="文本域" textarea v-model="value10" />
8282
<var-input placeholder="小尺寸" size="small" v-model="value11" />
8383
<var-input placeholder="移除空白字符" v-model.trim="value12" />
84-
<var-input
85-
placeholder="按下回车键试试"
86-
v-model="value15"
87-
@enter="handleEnter"
88-
/>
8984
<var-space>
9085
<var-input
9186
ref="inputRef"

0 commit comments

Comments
 (0)