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)) {