Commit 0fc58d39 authored by chengkun's avatar chengkun

onPause重置请求状态

parent 94a4c083
......@@ -125,4 +125,10 @@ class OrderListActivity : BaseMvvmActivity<BorderActivityOrderListBinding, Order
super.onResume()
binding.smartRefresh.autoRefresh()
}
override fun onPause() {
super.onPause()
//重置状态不影响下次请求
vm._state = OrderListViewModel.REQUEST_COMPLETE
}
}
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