Skip to content

Commit

Permalink
组件易用性优化,category-search组件唤出textInput时,input框自动聚焦 (#1842) (#1848)
Browse files Browse the repository at this point in the history
  • Loading branch information
aolinpk authored May 26, 2024
1 parent e2747b8 commit 77caaf7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export default defineComponent({
<d-input
v-model={formData.text}
autocomplete='off'
autofocus
maxlength={tag.value.maxLength}
placeholder={tag.value.placeholder || ''}></d-input>
</d-form-item>
Expand Down

0 comments on commit 77caaf7

Please sign in to comment.