Skip to content

Commit

Permalink
feat: 给搜索栏添加可以直接输入jm号的提示文本
Browse files Browse the repository at this point in the history
  • Loading branch information
lanyeeee committed Oct 2, 2024
1 parent 0dd0248 commit 6ff2f0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/SearchPane.vue
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ async function search(keyword: string, page: number, sort: SearchSort) {
<n-input class="text-align-left"
size="tiny"
v-model:value="searchInput"
placeholder=""
placeholder="jm号也可以"
clearable
@keydown.enter="search(searchInput.trim(), 1, sortSelected)">
<template #prefix>
漫画名:
关键词:
</template>
</n-input>
<n-button size="tiny" @click="search(searchInput.trim(), 1, sortSelected)">搜索</n-button>
Expand Down

0 comments on commit 6ff2f0f

Please sign in to comment.