From b3269976c84d03208f633cd0136a6f78e8dd53f7 Mon Sep 17 00:00:00 2001 From: 无故事王国 <841720330@qq.com> Date: 星期三, 01 十一月 2023 18:40:47 +0800 Subject: [PATCH] 瀑布流优化 --- WanPai/Root/Activity/View/StudentUpdateInfoView.swift | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/WanPai/Root/Activity/View/StudentUpdateInfoView.swift b/WanPai/Root/Activity/View/StudentUpdateInfoView.swift index a3c1940..e7edabe 100644 --- a/WanPai/Root/Activity/View/StudentUpdateInfoView.swift +++ b/WanPai/Root/Activity/View/StudentUpdateInfoView.swift @@ -74,7 +74,7 @@ guard tf_weight.text!.int != 0 else {alertError(msg: "请输入正确的体重");return} self.endEditing(true) - Services.editParticipant(id: model!.id, height: tf_height.text!.int!, weight: tf_weight.text!.int!, phone: tf_phone.text).subscribe(onNext: {data in + Services.editParticipant(id: model!.id, height: tf_height.text!.int!, weight: tf_weight.text!.int!, phone: tf_phone.text,isStudent: model!.isStudent).subscribe(onNext: {data in alertSuccess(msg: "修改成功") DispatchQueue.main.asyncAfter(deadline: .now()+1) { NotificationCenter.default.post(name: StudentUpdate_Nofi, object: nil) -- Gitblit v1.7.1