Commit c898c870 authored by hewenhao's avatar hewenhao

feat: update

parent 895f4f22
...@@ -67,18 +67,13 @@ const Prepare = () => { ...@@ -67,18 +67,13 @@ const Prepare = () => {
}, [nav.height, nav.top]) }, [nav.height, nav.top])
useDidShow(async () => { useDidShow(async () => {
getSetting()
fetchAccount() fetchAccount()
toggleLoad() toggleLoad()
await getStageDetail(+router.params.id || 1) await getStageDetail(+router.params.id || 1)
toggleLoad() toggleLoad()
}) })
useEffect(() => {
if (cardNum < 1) {
getSetting()
}
}, [cardNum, getSetting])
const getShareParams = useCallback(() => { const getShareParams = useCallback(() => {
return { return {
pageParams: { groupId: tribeInfo?.id ?? '', shareUserId: userInfo.userId }, pageParams: { groupId: tribeInfo?.id ?? '', shareUserId: userInfo.userId },
......
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