1
0
mirror of https://gitee.com/bookshelfplus/bookshelfplus synced 2025-09-05 08:31:37 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

搜索功能前端页面

This commit is contained in:
2022-03-15 19:26:47 +08:00
parent c2079f9064
commit 328d9f0dd2
5 changed files with 78 additions and 14 deletions

View File

@@ -50,6 +50,6 @@
alert("请输入搜索内容");
return;
}
window.location.href = "./search?keyword=" + encodeURIComponent(searchBoxValue);
window.location.href = "./search?keyword=" + encodeURIComponent(searchBoxValue.trim());
});
</script>