update code level
This commit is contained in:
@@ -245,6 +245,9 @@ async function loadAlbum(albumId) {
|
|||||||
|
|
||||||
const albumData = await response.json();
|
const albumData = await response.json();
|
||||||
currentAlbum = albumData.album;
|
currentAlbum = albumData.album;
|
||||||
|
// tags/persons 在 albumData 顶层(AlbumWithImages),存到 currentAlbum 方便渲染
|
||||||
|
currentAlbum.tags = albumData.tags || [];
|
||||||
|
currentAlbum.persons = albumData.persons || [];
|
||||||
images = albumData.images;
|
images = albumData.images;
|
||||||
|
|
||||||
updateAlbumInfo();
|
updateAlbumInfo();
|
||||||
|
|||||||
Reference in New Issue
Block a user