diff --git a/GeliBusinessPlatform.xcworkspace/xcuserdata/liujunhong.xcuserdatad/UserInterfaceState.xcuserstate b/GeliBusinessPlatform.xcworkspace/xcuserdata/liujunhong.xcuserdatad/UserInterfaceState.xcuserstate index 31833fd0dfd1a768be17e2fd5907ec0a4118a20a..839989277875e6666fd2535a4441ca71ab6aa02e 100644 Binary files a/GeliBusinessPlatform.xcworkspace/xcuserdata/liujunhong.xcuserdatad/UserInterfaceState.xcuserstate and b/GeliBusinessPlatform.xcworkspace/xcuserdata/liujunhong.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git "a/GeliBusinessPlatform/ViewController/\345\267\245\344\275\234\344\270\255\345\277\203/WorkCViewController.swift" "b/GeliBusinessPlatform/ViewController/\345\267\245\344\275\234\344\270\255\345\277\203/WorkCViewController.swift" index 3830a22c69761d2a286b46267243a7fa2a67cecd..6b19276c6a107b670e0b6954b760c308de33e005 100644 --- "a/GeliBusinessPlatform/ViewController/\345\267\245\344\275\234\344\270\255\345\277\203/WorkCViewController.swift" +++ "b/GeliBusinessPlatform/ViewController/\345\267\245\344\275\234\344\270\255\345\277\203/WorkCViewController.swift" @@ -184,16 +184,12 @@ class WorkCViewController: BaseViewController, UITableViewDelegate, UITableViewD let oldOftenArr = Array<WorkcenterIndexAuthResModel>(JSONString: oftenStr) self.oftenArr?.removeAll() oldOftenArr?.forEach({ (md) in - var isAdd = false self.dataModel?.auth_res?.forEach({ (pmd) in if md.auth_id == pmd.auth_id { //å˜åœ¨ä¸”还常用 - isAdd = true + self.oftenArr?.append(md) } }) - if isAdd { - self.oftenArr?.append(md) - } }) }