|
...
|
...
|
@@ -369,15 +369,16 @@ Page({ |
|
|
|
if(tables.length<1){
|
|
|
|
tablesLength=0;
|
|
|
|
tables_tmp = [];
|
|
|
|
res.data.forEach(p => {
|
|
|
|
res.data.forEach((p,ri) => {
|
|
|
|
p.list.forEach(t => {
|
|
|
|
tablesLength++;
|
|
|
|
if(ri>0) tablesLength++;
|
|
|
|
//if(tables.length>=3) return true;
|
|
|
|
if (t.tid == 2) {
|
|
|
|
tables.push(t);
|
|
|
|
} else {
|
|
|
|
tables_tmp.push(t);
|
|
|
|
}
|
|
|
|
// if (t.tid == 2) {
|
|
|
|
// tables.push(t);
|
|
|
|
// } else {
|
|
|
|
// tables_tmp.push(t);
|
|
|
|
// }
|
|
|
|
tables.push(t);
|
|
|
|
})
|
|
|
|
})
|
|
|
|
if (tables.length < 3) {
|
...
|
...
|
|