Commit ec83efc6 authored by yinjiacheng's avatar yinjiacheng

fix 商户认证管理页面XPageManager.pop异常

parent 30f60a44
...@@ -57,7 +57,7 @@ class MerchantAuthManagementActivity : Activity(), XPageViewProtocol, IGetLifeAc ...@@ -57,7 +57,7 @@ class MerchantAuthManagementActivity : Activity(), XPageViewProtocol, IGetLifeAc
XRouterPathConstants.LIFE_ACCOUNT_AUTH, XRouterPathConstants.LIFE_ACCOUNT_AUTH,
hashMapOf(Pair(LifeAccountAuthActivity.EXTRA_PAGE_FROM, LifeAccountAuthActivity.FROM_AUTH)) hashMapOf(Pair(LifeAccountAuthActivity.EXTRA_PAGE_FROM, LifeAccountAuthActivity.FROM_AUTH))
) )
XPageManager.pop(null) finish()
} }
Constant.LIFE_ACCOUNT_TAG_AUTH_REJECT -> { Constant.LIFE_ACCOUNT_TAG_AUTH_REJECT -> {
// 认证驳回 请求企业认证信息 // 认证驳回 请求企业认证信息
...@@ -78,7 +78,7 @@ class MerchantAuthManagementActivity : Activity(), XPageViewProtocol, IGetLifeAc ...@@ -78,7 +78,7 @@ class MerchantAuthManagementActivity : Activity(), XPageViewProtocol, IGetLifeAc
override fun getLifeAccountInfoByIdSuccess(result: GetLifeAccountInfoByIdBean.Response?) { override fun getLifeAccountInfoByIdSuccess(result: GetLifeAccountInfoByIdBean.Response?) {
// 跳转认证信息详情页 // 跳转认证信息详情页
XPageManager.push(XRouterPathConstants.MERCHANT_AUTH_INFO, hashMapOf(Pair(MerchantAuthInfoActivity.EXTRA_LIFE_ACCOUNT_INFO, result))) XPageManager.push(XRouterPathConstants.MERCHANT_AUTH_INFO, hashMapOf(Pair(MerchantAuthInfoActivity.EXTRA_LIFE_ACCOUNT_INFO, result)))
XPageManager.pop(null) finish()
} }
override fun getLifeAccountInfoByIdFailure(message: String?) { override fun getLifeAccountInfoByIdFailure(message: String?) {
...@@ -95,7 +95,7 @@ class MerchantAuthManagementActivity : Activity(), XPageViewProtocol, IGetLifeAc ...@@ -95,7 +95,7 @@ class MerchantAuthManagementActivity : Activity(), XPageViewProtocol, IGetLifeAc
Pair(LifeAccountEnterpriseAuthActivity.EXTRA_IS_AUTH_MODIFY, true) Pair(LifeAccountEnterpriseAuthActivity.EXTRA_IS_AUTH_MODIFY, true)
) )
) )
XPageManager.pop(null) finish()
} }
override fun authMerchantCheckFailure(message: String?) { override fun authMerchantCheckFailure(message: String?) {
......
...@@ -42,7 +42,6 @@ class FeedbackActivity : BaseMvvmActivity<ActivityFeedbackBinding, FeedbackViewM ...@@ -42,7 +42,6 @@ class FeedbackActivity : BaseMvvmActivity<ActivityFeedbackBinding, FeedbackViewM
private fun subscribeData() { private fun subscribeData() {
vm.commitSuccessEvent.observe(this, { vm.commitSuccessEvent.observe(this, {
ToastUtils.showShort("提交成功") ToastUtils.showShort("提交成功")
// TODO: 7/17/21 排查XPageManager.pop(null)存在失效情况
finish() finish()
}) })
vm.commitFailureEvent.observe(this, { vm.commitFailureEvent.observe(this, {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment