Commit d8718a6ab12fe937e5b246de045cca4868d911e6
1 parent
24bc89da
修改报错
Showing
1 changed file
with
1 additions
and
1 deletions
metaCode/Classes/Main/MinePage/ViewModel/CNLiveMineViewModel.swift
| @@ -341,7 +341,7 @@ class CNLiveMineViewModel: NSObject { | @@ -341,7 +341,7 @@ class CNLiveMineViewModel: NSObject { | ||
| 341 | if have_id_auths.count > 0 { | 341 | if have_id_auths.count > 0 { |
| 342 | let tempArray = NSMutableArray.init(array: listModel.list) | 342 | let tempArray = NSMutableArray.init(array: listModel.list) |
| 343 | for item in tempArray { | 343 | for item in tempArray { |
| 344 | - if (have_id_auths.contains("\(item.identityId)")) { | 344 | + if (have_id_auths.contains("\((item as AnyObject).identityId)")) { |
| 345 | // tempArray_have.add(item) | 345 | // tempArray_have.add(item) |
| 346 | }else{ | 346 | }else{ |
| 347 | // tempArray_no.add(item) | 347 | // tempArray_no.add(item) |