Commit db77ca8d authored by shiyl's avatar shiyl

优化立即支付按钮点击事件

parent 8714bc48
......@@ -119,7 +119,7 @@ class ConfirmOrderActivity : BaseMvvmActivity<BorderActivityConfirmOrderBinding,
}
// 设置立即支付按钮是否可用,防止多次重复创建订单和打开支付页面
vm.payEnableEvent.observe(this) {
binding.tvPayNow.isEnabled = it
binding.tvPayNow.isClickable = it
}
}
......
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