Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (const item of result.data) {
- pos = 0;
- const inmueble = new Inmueble();
- inmueble.nombre = item.nomb_prod_c;
- inmueble.id = item.id;
- inmueble.estacionamiento = item.estan_c;
- inmueble.baño = item.banof_c;
- console.log(inmueble.nombre);
- (item.fot01_c != "") ? inmueble.fotos[0]="true": inmueble.fotos[0]="false";
- pos++;
- this.inmuebles.push(inmueble);
- console.log("----->" + this.inmuebles[0].fotos[0]);
- console.log("----->" + this.inmuebles[1].fotos[0]);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement