正在显示
1 个修改的文件
包含
7 行增加
和
4 行删除
| ... | ... | @@ -117,11 +117,14 @@ Page({ |
| 117 | 117 | if (countrys.indexOf('澳门') > -1) { |
| 118 | 118 | countrys.splice(countrys.indexOf('澳门'), 1); |
| 119 | 119 | } |
| 120 | - that.data.countryData.values = countrys | |
| 121 | 120 | that.countrys = countrys |
| 122 | - that.setData({ | |
| 123 | - countryData: that.data.countryData, | |
| 124 | - }) | |
| 121 | + if (that.data.cardtypeData.selected && that.data.cardtypeData.selected.indexOf("外国人") != -1) { | |
| 122 | + that.data.countryData.values = countrys | |
| 123 | + that.setData({ | |
| 124 | + countryData: that.data.countryData, | |
| 125 | + }) | |
| 126 | + } | |
| 127 | + | |
| 125 | 128 | }, |
| 126 | 129 | fail(res) { |
| 127 | 130 | wx.hideLoading() | ... | ... |
请
注册
或
登录
后发表评论