使用 window 上的 history 方法,不能使用 react 的 history 方法window.history.pushState(null, '', `/buyer/order/${currentTab}`)
题主不妨说一下需要改querystring 但却不重新渲染的原因是什么?