web: 书架无书时不显示loading

This commit is contained in:
Xwite
2023-04-10 12:11:24 +08:00
parent 34789a22b7
commit b248dada52
4 changed files with 57 additions and 61 deletions

View File

@@ -48,7 +48,6 @@ const search = (
) => {
// webSocket
const url = `ws://${hostname}:${Number(port) + 1}/searchBook`;
const socket = new WebSocket(url);
socket.onopen = () => {