diff --git a/src/pages/ShareCenterPage.vue b/src/pages/ShareCenterPage.vue index d8e29ef..29ec84a 100644 --- a/src/pages/ShareCenterPage.vue +++ b/src/pages/ShareCenterPage.vue @@ -96,11 +96,11 @@ debounce="200" standout="bg-primary text-white" dense - @update:model-value="updateSearch" - placeholder="搜索,支持拼音首字母" + @keydown="(e) => e.keyCode === 13 && updateSearch()" + placeholder="搜索" > -