Commit e2efb91bc1e8091fc6596c7de1d49b7b9409c4ff

Authored by yvan.ni
1 parent 547281a1

有显示弹出框,才要求要显示用户协议

Showing 1 changed file with 2 additions and 1 deletions
pages/user/plus/plus.js
... ... @@ -442,7 +442,8 @@ Page({
442 442 return false;
443 443 }
444 444  
445   - if(!this.data.check_py_val){
  445 + //有显示弹出框,才要求要显示用户协议
  446 + if(!this.data.check_py_val && (th.data.isyaoqingma || th.data.is_salesman) ){
446 447 ut.m_toast('请先同意PLUS会员用户协议')
447 448 return false;
448 449 }
... ...