Commit 9bae9334 authored by hewenhao's avatar hewenhao

feat: 部落引导

parent a5277e31
...@@ -49,8 +49,9 @@ const MainPage = () => { ...@@ -49,8 +49,9 @@ const MainPage = () => {
}) })
}, []) }, [])
// 激活部落引导
useEffect(() => { useEffect(() => {
if (isGroupGuideComplete || !isMainGuideComplete || !isStoreGuideComplete) { if (isGroupGuideComplete || !isMainGuideComplete || !userInfo.pointReceive) {
return return
} }
...@@ -65,7 +66,7 @@ const MainPage = () => { ...@@ -65,7 +66,7 @@ const MainPage = () => {
} }
} }
fn() fn()
}, [point, isGroupGuideComplete, stageList, updateGroupGuideActive, fetchTribeInfo, isMainGuideComplete, isStoreGuideComplete]) }, [point, isGroupGuideComplete, stageList, updateGroupGuideActive, userInfo, fetchTribeInfo, isMainGuideComplete])
const isFocus = useFocus() const isFocus = useFocus()
......
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