正在显示
2 个修改的文件
包含
3 行增加
和
4 行删除
@@ -13,7 +13,6 @@ Page({ | @@ -13,7 +13,6 @@ Page({ | ||
13 | "continuing_education": "继续教育", | 13 | "continuing_education": "继续教育", |
14 | "support_duty": "赡养老人", | 14 | "support_duty": "赡养老人", |
15 | "medical_fund": "大病医疗", | 15 | "medical_fund": "大病医疗", |
16 | - "house_fund": "住房", | ||
17 | "house_fund_rent": "住房", | 16 | "house_fund_rent": "住房", |
18 | "house_fund_loan": "住房" | 17 | "house_fund_loan": "住房" |
19 | }, | 18 | }, |
@@ -47,8 +46,8 @@ Page({ | @@ -47,8 +46,8 @@ Page({ | ||
47 | lookandadd:function(e){ | 46 | lookandadd:function(e){ |
48 | console.log("lookandadd", e); | 47 | console.log("lookandadd", e); |
49 | if (this.data.additiondata.options && this.data.additiondata.options.length>0){ | 48 | if (this.data.additiondata.options && this.data.additiondata.options.length>0){ |
50 | - var newstatus | ||
51 | - if (this.data.additiondata.options[e.currentTarget.id].indexOf("house_fund"!=-1)){ | 49 | + var newstatus = this.data.additiondata.options[e.currentTarget.id] |
50 | + if (newstatus == 'house_fund_rent' || newstatus == 'house_fund_loan'){ | ||
52 | newstatus = "house_fund" | 51 | newstatus = "house_fund" |
53 | } | 52 | } |
54 | wx.navigateTo({ | 53 | wx.navigateTo({ |
请
注册
或
登录
后发表评论