Skip to content

Commit

Permalink
fix: vue warn and doc (#1172)
Browse files Browse the repository at this point in the history
  • Loading branch information
QuentinHsu committed Dec 5, 2023
1 parent d2dbb9c commit e1579a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/textarea/demos/card.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
class="textarea"
label="标签文字"
placeholder="请输入文字"
maxlength="500"
:maxlength="500"
indicator
layout="vertical"
/>
</div>

<div class="textarea-example card">
<div class="textarea-example__summary">卡片样式</div>
<t-textarea class="textarea" label="标签文字" placeholder="请输入文字" maxlength="500" indicator />
<t-textarea class="textarea" label="标签文字" placeholder="请输入文字" :maxlength="500" indicator />
</div>
</template>

Expand Down
2 changes: 1 addition & 1 deletion src/textarea/demos/custom.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div class="textarea-example">
<text class="textarea-example__label">标签文字</text>
<t-textarea class="textarea" placeholder="请输入文字" bordered maxlength="100" indicator style="{{style}}" />
<t-textarea class="textarea" placeholder="请输入文字" bordered :maxlength="100" indicator style="{{style}}" />
</div>
</template>

Expand Down

0 comments on commit e1579a6

Please sign in to comment.