Commit 2782d203 authored by yinjiacheng's avatar yinjiacheng

fix SHQBD-806 用户反馈页面XPageManager.pop(null)存在失效情况

parent c1b0c4c4
...@@ -8,7 +8,6 @@ import com.yidian.common.mvvm.BaseMvvmActivity ...@@ -8,7 +8,6 @@ import com.yidian.common.mvvm.BaseMvvmActivity
import com.yidian.common.utils.ToastUtils import com.yidian.common.utils.ToastUtils
import com.yidian.shenghuoquan.newscontent.R import com.yidian.shenghuoquan.newscontent.R
import com.yidian.shenghuoquan.newscontent.databinding.ActivityFeedbackBinding import com.yidian.shenghuoquan.newscontent.databinding.ActivityFeedbackBinding
import com.yidian.xpage.XPageManager
/** /**
* author: yinjiacheng * author: yinjiacheng
...@@ -43,7 +42,8 @@ class FeedbackActivity : BaseMvvmActivity<ActivityFeedbackBinding, FeedbackViewM ...@@ -43,7 +42,8 @@ class FeedbackActivity : BaseMvvmActivity<ActivityFeedbackBinding, FeedbackViewM
private fun subscribeData() { private fun subscribeData() {
vm.commitSuccessEvent.observe(this, { vm.commitSuccessEvent.observe(this, {
ToastUtils.showShort("提交成功") ToastUtils.showShort("提交成功")
XPageManager.pop(null) // TODO: 7/17/21 排查XPageManager.pop(null)存在失效情况
finish()
}) })
vm.commitFailureEvent.observe(this, { vm.commitFailureEvent.observe(this, {
ToastUtils.showShort("提交失败,请稍后重试") ToastUtils.showShort("提交失败,请稍后重试")
......
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