内存全文索引

This commit is contained in:
tangly1024
2022-03-01 16:23:09 +08:00
parent 26ac377749
commit f053f42c21
8 changed files with 108 additions and 6 deletions

View File

@@ -18,7 +18,7 @@ const SearchInput = ({ currentTag, currentSearch, cRef }) => {
const handleSearch = (key) => {
if (key && key !== '') {
setLoadingState(true)
router.push({ pathname: '/search', query: { s: key } }).then(r => {
router.push({ pathname: '/search/' + key }).then(r => {
setLoadingState(false)
})
} else {