Skip to content

Commit

Permalink
chore: 修正示例文字描述
Browse files Browse the repository at this point in the history
  • Loading branch information
RSS1102 committed Dec 16, 2024
1 parent c646e43 commit 637726c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/search/__test__/__snapshots__/demo.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ exports[`Search > Search maxLengthVue demo works fine 1`] = `
<input
class="t-input__keyword"
maxlength="-1"
placeholder="最大输入10个字符汉字算两个"
placeholder="最大输入10个字符(汉字算两个)"
type="search"
/>
<!---->
Expand Down Expand Up @@ -393,7 +393,7 @@ exports[`Search > Search mobileVue demo works fine 1`] = `
<input
class="t-input__keyword"
maxlength="-1"
placeholder="最大输入10个字符汉字算两个"
placeholder="最大输入10个字符(汉字算两个)"
type="search"
/>
<!---->
Expand Down
2 changes: 1 addition & 1 deletion src/search/demos/max-length.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<t-search v-model="value1" :max-length="10" placeholder="最大输入10个汉字"></t-search>
</div>
<div class="example-search">
<t-search v-model="value2" :maxcharacter="10" placeholder="最大输入10个字符汉字算两个"></t-search>
<t-search v-model="value2" :maxcharacter="10" placeholder="最大输入10个字符(汉字算两个)"></t-search>
</div>
</template>

Expand Down

0 comments on commit 637726c

Please sign in to comment.