WanPai/Root/Course/VC/StudentExchangeVC.swift
@@ -54,6 +54,8 @@ @IBAction func changeAction(_ sender: UIButton) { if let s = selectIndex{ let id = viewModel.dataSource.value[s].stuId UserDefaults.standard.setValue(id, forKey: "currentStuId") UserDefaults.standard.synchronize() Services.startCourseSwitch(id: id).subscribe(onNext: { data in NotificationCenter.default.post(name: StudentUpdate_Nofi, object: nil) self.navigationController?.popViewController()