Commit e353cc17 authored by raca's avatar raca

Merge branch 'feature/2023-06-12-v1.1' of…

Merge branch 'feature/2023-06-12-v1.1' of https://118.24.71.244/hewenhao/GeekLearnMathWeapp into feature/2023-06-12-v1.1
parents 7398ce0b f209fe0f
...@@ -117,7 +117,7 @@ export function getStageList () { ...@@ -117,7 +117,7 @@ export function getStageList () {
return requestAfterSilentLogin<Stage[], { chapter: number; userId?: number }>(userInfo => ({ return requestAfterSilentLogin<Stage[], { chapter: number; userId?: number }>(userInfo => ({
method: 'GET', method: 'GET',
url: '/service-idea/stage/listStages', url: '/service-idea/stage/listStages',
data: { chapter: 1, userId: userInfo?.userId } data: { chapter: 2, userId: userInfo?.userId }
})) }))
} }
......
...@@ -54,7 +54,7 @@ function stageToStageNext (stageList: Stage[]): {nextList: StageNext[]; showList ...@@ -54,7 +54,7 @@ function stageToStageNext (stageList: Stage[]): {nextList: StageNext[]; showList
if (currentIndex === -1) { if (currentIndex === -1) {
showList = newList showList = newList
} else { } else {
showList = newList.slice(0, Math.max(currentIndex + 80, 5)) showList = newList.slice(0, Math.max(currentIndex + 3, 5))
} }
let currentPart let currentPart
......
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