|
@@ -1496,7 +1496,14 @@ extension PQStuckPointPublicController {
|
|
PQBaseViewModel.getBaseConfig(completeHander: { [weak self] titles in
|
|
PQBaseViewModel.getBaseConfig(completeHander: { [weak self] titles in
|
|
|
|
|
|
if (titles?.count ?? 0) > 0 {
|
|
if (titles?.count ?? 0) > 0 {
|
|
- self?.publicTitleView.titles = titles!
|
|
|
|
|
|
+ var temp:Array<String> = titles!
|
|
|
|
+ if((titles?.count ?? 0) <= 13){
|
|
|
|
+ for _ in 0 ... (13 - (titles?.count ?? 0)){
|
|
|
|
+ temp.append("")
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ self?.publicTitleView.titles = temp
|
|
|
|
|
|
let numberRandom: UInt32 = UInt32(arc4random_uniform(UInt32(titles!.count)))
|
|
let numberRandom: UInt32 = UInt32(arc4random_uniform(UInt32(titles!.count)))
|
|
BFLog(message: "接收到的 titles\(String(describing: titles))")
|
|
BFLog(message: "接收到的 titles\(String(describing: titles))")
|