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