Commit c1258cb086da478f9b4869134fc3ba78ed4214ed

Authored by wangfan
1 parent 26b97789

fixbug tablesLength

Showing 1 changed file with 4 additions and 2 deletions
... ... @@ -359,15 +359,17 @@ Page({
obj.form.cusdem=res.data.cusdem;
obj.form.rid=id;
obj.form.tid=[];
let tablesed=[];
res.data.tables.forEach((t,ti)=>{
if(ti>=3) return;
t.isselect=true
res.data.tables[ti]=t;
obj.form.tid.push(t.id)
tablesed.push(t);
})
this.setData({
timePickerIndex:timePickerIndex,
form:obj.form,
tablesed:res.data.tables,
tablesed:tablesed,
})
}catch (e){
console.log('initModify',e)
... ...