mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
This commit is contained in:
parent
6d5d17ce86
commit
0f0db729bf
1 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue