Update BookShelf.vue

This commit is contained in:
newzeble 2023-12-20 12:40:51 +08:00 committed by GitHub
parent 03af785add
commit a6c53cb9bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -131,6 +131,7 @@ const searchBook = () => {
API.search(
search.value,
(data) => {
closeLoading();
try {
store.setSearchBooks(JSON.parse(data));
store.searchBooks.forEach((item) => books.value.push(item));