mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-05-28 21:47:44 +08:00
fix: keep browser history for home category and tag filters
This commit is contained in:
@@ -21,7 +21,7 @@ const props = defineProps({
|
||||
const gotoCategory = async () => {
|
||||
if (!props.category) return
|
||||
const value = encodeURIComponent(props.category.id ?? props.category.name)
|
||||
await navigateTo({ path: '/', query: { category: value } }, { replace: true })
|
||||
await navigateTo({ path: '/', query: { category: value } })
|
||||
}
|
||||
|
||||
const isImageIcon = (icon) => {
|
||||
|
||||
Reference in New Issue
Block a user