0
import {Place} from "../models/place";
import {Location} from "../models/location";
export class PlacesService {
private places: Place[] = [];
addPlace(title: string,
description: string,
location: Location,
base64Image: string){
***let place = new place(title,description,location,base64Image);***
this.places.push(place);
}
loadPlaces(){
return this.places.slice();
}
}
답변 해 주셔서 감사합니다. –
이것이 효과가 있습니다! 감사 –