Vanessa 2025-05-20 10:01:25 +08:00
parent 4264d0d193
commit b3764d6a20
4 changed files with 10 additions and 5 deletions

View file

@ -58,10 +58,11 @@ export const previewDocImage = (currentSrc: string, id: string) => {
});
};
export const previewAttrViewImages = (currentSrc: string, avID: string, viewID: string) => {
export const previewAttrViewImages = (currentSrc: string, avID: string, viewID: string, query: string) => {
fetchPost("/api/av/getCurrentAttrViewImages", {
id: avID,
viewID: viewID
viewID,
query,
}, (response) => {
previewImages(response.data, currentSrc);
});