优化
This commit is contained in:
parent
c641ca65ca
commit
13946eb6be
@ -122,18 +122,9 @@ func (this *Mainline) CheckPoint(uid string) bool {
|
|||||||
if conf == nil {
|
if conf == nil {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
bFind := false
|
if len(conf.Episode) != len(v.BranchID) {
|
||||||
for _, v1 := range conf.Episode {
|
|
||||||
for _, banch := range v.BranchID {
|
|
||||||
if banch == v1 {
|
|
||||||
bFind = true
|
|
||||||
break
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if !bFind { // 没找到 显示红点
|
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true
|
return false
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user