mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
BugFix: 搜索
This commit is contained in:
@@ -8,7 +8,7 @@ const SearchInput = ({ currentTag }) => {
|
||||
const [searchValue, setSearchValue] = useState('')
|
||||
const handleSearch = () => {
|
||||
if (searchValue && searchValue !== '') {
|
||||
Router.push({ pathname: '/', query: { s: searchValue } }).then(r => {
|
||||
Router.push({ pathname: '/page/1', query: { s: searchValue } }).then(r => {
|
||||
console.log(r)
|
||||
})
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user