无故事王国
2023-11-16 637afbbebd8543f45f5eea6b727316eb95683625
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()