Commit 01639ec7 by zhaochengxiang

bug fix

parent 5e1f1627
......@@ -96,8 +96,8 @@ const FC = (props) => {
const [page, setPage] = usePage()
const [ modal, contextHolder ] = Modal.useModal()
const locationIdRef = React.useRef('id', props?.location?.search)
const locationDidRef = React.useRef('did', props?.location?.search)
const locationIdRef = React.useRef(getQueryParam('id', props?.location?.search))
const locationDidRef = React.useRef(getQueryParam('did', props?.location?.search))
const setArgsAndPage = React.useCallback((params) => {
// 设置查询参数时将分页置为1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment