Commit 5d001895 by FE

address to phone

parent 5a6ba68e
...@@ -77,7 +77,7 @@ class MyTreasure extends Component { ...@@ -77,7 +77,7 @@ class MyTreasure extends Component {
// 获取当前需要绑定手机的队伍id,当拆到需要绑定手机号/地址的宝箱时,如果不进行绑定则无法拆下一个 // 获取当前需要绑定手机的队伍id,当拆到需要绑定手机号/地址的宝箱时,如果不进行绑定则无法拆下一个
fetchCurrentTeamId = (data = []) => { fetchCurrentTeamId = (data = []) => {
const arr = data.filter(item => item.is_open && (item.bind_address || item.bind_address)); const arr = data.filter(item => item.is_open && (item.bind_phone || item.bind_address));
if(arr.length > 0) { if(arr.length > 0) {
return arr[0]['id']; return arr[0]['id'];
}else { }else {
......
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