Skip to content

Commit fc1b2e0

Browse files
committed
feat: add search logo
1 parent efa433e commit fc1b2e0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pages/index.vue

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script setup lang="ts">
22
import type { Detail } from 'get-bonus';
33
4-
import { Loader2 } from 'lucide-vue-next';
4+
import { Loader2, Search } from 'lucide-vue-next';
55
66
import { Input } from '@/components/ui/input';
77
import { Button } from '@/components/ui/button';
@@ -35,6 +35,7 @@ const search = async () => {
3535
<Input v-model="searchInput" @keydown.enter="search"></Input>
3636
<Button @click="search" :disabled="isSearching">
3737
<Loader2 v-if="isSearching" class="w-4 h-4 mr-2 animate-spin" />
38+
<Search v-else class="w-4 h-4 mr-2"></Search>
3839
<span>搜索</span>
3940
</Button>
4041
</div>

0 commit comments

Comments
 (0)