瀏覽代碼

fix: 12050 (#12109)

Co-authored-by: Xiaoba Yu <xb1823725853@gmail.com>
tags/0.15.0
XiaoBa 10 月之前
父節點
當前提交
9c3cf7b69a
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      web/app/(commonLayout)/apps/hooks/useAppsQueryState.ts

+ 1
- 1
web/app/(commonLayout)/apps/hooks/useAppsQueryState.ts 查看文件

@@ -37,7 +37,7 @@ function useAppsQueryState() {
const syncSearchParams = useCallback((params: URLSearchParams) => {
const search = params.toString()
const query = search ? `?${search}` : ''
router.push(`${pathname}${query}`)
router.push(`${pathname}${query}`, { scroll: false })
}, [router, pathname])

// Update the URL search string whenever the query changes.

Loading…
取消
儲存