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}); const response = await fetchSyncPost("/api/filetree/getHPathByID", {id});
text += response.data; text += response.data;
} else if (type === "webURL") { } else if (type === "webURL") {
const origin = window.location.origin; text += `${window.location.origin}/?id=${id}`;
text += `${origin}/?id=${id}`;
} else if (type === "id") { } else if (type === "id") {
text += id; text += id;
} }