Commit 638e9caa50264118fccb9e02433c782c6d586f72
1 parent
b6eb5aeb
生日默认新历的优化
Showing
1 changed file
with
12 additions
and
0 deletions
packageA/pages/profile/profile.js
| ... | ... | @@ -705,6 +705,18 @@ Page({ |
| 705 | 705 | |
| 706 | 706 | set_data.user = back_data.erpviplist; |
| 707 | 707 | } |
| 708 | + else{ | |
| 709 | + | |
| 710 | + //----获取系统参数----- | |
| 711 | + getApp().getConfig2(function (e) { | |
| 712 | + var json_d = JSON.parse(e.switch_list); | |
| 713 | + if (json_d.is_brithday != 1) { | |
| 714 | + self.setData({isLunar: 1}) | |
| 715 | + } | |
| 716 | + }, 1) | |
| 717 | + } | |
| 718 | + | |
| 719 | + | |
| 708 | 720 | |
| 709 | 721 | //-- 新的会员 -- |
| 710 | 722 | if (back_data && back_data.data && back_data.data.pickup_id && !set_data.sto_sele_id) { | ... | ... |