Commit 874c069c authored by jyx's avatar jyx

代码优化

parent a2373e98
...@@ -151,7 +151,12 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener, ...@@ -151,7 +151,12 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener,
override fun getVipProductSuc(data: VipBean) { override fun getVipProductSuc(data: VipBean) {
if (!isFinishing) { if (!isFinishing) {
if (data.list != null && data.list.size > 0) { if (data.list != null && data.list.size > 0) {
vipList = data.list if (data.list[0].trial != 0) {
val list = data.list
list.removeAt(0)
vipList = list
}
//设置content样式 //设置content样式
if (vipList != null && vipList!!.size > 0) { if (vipList != null && vipList!!.size > 0) {
......
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