We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent efa433e commit fc1b2e0Copy full SHA for fc1b2e0
pages/index.vue
@@ -1,7 +1,7 @@
1
<script setup lang="ts">
2
import type { Detail } from 'get-bonus';
3
4
-import { Loader2 } from 'lucide-vue-next';
+import { Loader2, Search } from 'lucide-vue-next';
5
6
import { Input } from '@/components/ui/input';
7
import { Button } from '@/components/ui/button';
@@ -35,6 +35,7 @@ const search = async () => {
35
<Input v-model="searchInput" @keydown.enter="search"></Input>
36
<Button @click="search" :disabled="isSearching">
37
<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>
39
<span>搜索</span>
40
</Button>
41
</div>
0 commit comments