primevue-mirror/service/PhotoService.js

8 lines
181 B
JavaScript
Raw Normal View History

2020-05-15 08:08:53 +00:00
export default class PhotoService {
2022-09-14 14:26:41 +00:00
getImages() {
return fetch('demo/data/photos.json')
.then((res) => res.json())
.then((d) => d.data);
2020-03-31 13:28:08 +00:00
}
}