Update BookShelf.vue
This commit is contained in:
1 parent
41ca353d50
commit
a002af509c
1 file changed
+1
@@ -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));
|
||||
|
||||
Reference in new issue
Block a user