mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 04:13:09 +02:00
リンクをコピーでパスしかコピーされない問題を修正 (#6785)
This commit is contained in:
parent
cf6596203b
commit
e2e262c8ce
1 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ import { faExpandAlt, faColumns, faExternalLinkAlt, faLink, faWindowMaximize } f
|
|||
import * as os from '@/os';
|
||||
import copyToClipboard from '@/scripts/copy-to-clipboard';
|
||||
import { router } from '@/router';
|
||||
import { deckmode } from '@/config';
|
||||
import { deckmode, url } from '@/config';
|
||||
|
||||
export default defineComponent({
|
||||
inject: {
|
||||
|
@ -82,7 +82,7 @@ export default defineComponent({
|
|||
icon: faLink,
|
||||
text: this.$t('copyLink'),
|
||||
action: () => {
|
||||
copyToClipboard(this.to);
|
||||
copyToClipboard(`${url}${this.to}`);
|
||||
}
|
||||
}], e);
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue