mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-07-03 14:09:06 +02:00
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user