Commit a8297aaa authored by hewenhao's avatar hewenhao

feat: fix bug

parent 22bab81b
...@@ -83,11 +83,12 @@ const guideModel: GuideModel = { ...@@ -83,11 +83,12 @@ const guideModel: GuideModel = {
addPkGuideTimes: action((state) => { addPkGuideTimes: action((state) => {
let next let next
if (state.pkGuideTimes !== null) { if (state.pkGuideTimes) {
/** 只显示3次pk历史pk引导 */
if (state.pkGuideTimes >= 3) { if (state.pkGuideTimes >= 3) {
return return
} }
next = state.pkGuideTimes + 1 next = (+state.pkGuideTimes) + 1
} else { } else {
next = 1 next = 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