From 739f8bf9b584f08ae2d37e414bc7ec53614fb811 Mon Sep 17 00:00:00 2001 From: edy Date: Wed, 9 Jun 2021 16:31:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=89=8B=E6=9C=BA=E7=AB=AF?= =?UTF-8?q?=E7=95=8C=E9=9D=A2=20=E6=8F=90=E4=BA=A4=E5=AE=8C=E6=88=90?= =?UTF-8?q?=E5=A4=A7=E5=88=B7=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../www/pages/welcome/welcome.js | 2 +- .../Modules/StuInfoFreshApi.cs | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/welcome/welcome.js b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/welcome/welcome.js index 10a293223..f86d417a4 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/welcome/welcome.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/welcome/welcome.js @@ -249,7 +249,7 @@ learun.layer.loading(false); if (data) { learun.layer.toast('保存成功'); - location.reload(); + learun.nav.closeCurrent(); } }); diff --git a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/StuInfoFreshApi.cs b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/StuInfoFreshApi.cs index 14f76a828..681be3260 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/StuInfoFreshApi.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/StuInfoFreshApi.cs @@ -168,12 +168,12 @@ namespace Learun.Application.WebApi.Modules var model = this.GetReqData(); var entity = stuInfoFreshIBLL.GetStuInfoFreshEntity(model.ID); - entity.RegionNo = model.RegionNo; - entity.FamilyAddress = model.FamilyAddress; - entity.telephone = model.telephone; - entity.BankCard = model.BankCard; - entity.BankLocation = model.BankLocation; - entity.DepositBank = model.DepositBank; + entity.RegionNo = model?.RegionNo; + entity.FamilyAddress = model?.FamilyAddress; + entity.telephone = model?.telephone; + entity.BankCard = model?.BankCard; + entity.BankLocation = model?.BankLocation; + entity.DepositBank = model?.DepositBank; if (!string.IsNullOrEmpty(model.Photo)) {