开启 ppr 优化渲染性能
This commit is contained in:
@@ -14,7 +14,7 @@ export default function Purchase() {
|
||||
|
||||
const tab = params.get('type') as TabType || 'short'
|
||||
|
||||
const updateTab = async (tab: string) => {
|
||||
const updateTab = (tab: string) => {
|
||||
const newParams = new URLSearchParams(params)
|
||||
newParams.set('type', tab)
|
||||
router.push(`${path}?${newParams.toString()}`)
|
||||
|
||||
Reference in New Issue
Block a user