Vanessa 2025-11-21 23:03:16 +08:00
parent 6d5d17ce86
commit 0f0db729bf

View file

@ -237,8 +237,7 @@ export const copyTextByType = async (ids: string[],
const response = await fetchSyncPost("/api/filetree/getHPathByID", {id});
text += response.data;
} else if (type === "webURL") {
const origin = window.location.origin;
text += `${origin}/?id=${id}`;
text += `${window.location.origin}/?id=${id}`;
} else if (type === "id") {
text += id;
}