1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-13 22:28:58 +09:00

リンクをコピーでパスしかコピーされない問題を修正 (#6785)

This commit is contained in:
sobadon 2020-10-30 18:22:14 +09:00 committed by GitHub
parent cf6596203b
commit e2e262c8ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ import { faExpandAlt, faColumns, faExternalLinkAlt, faLink, faWindowMaximize } f
import * as os from '@/os'; import * as os from '@/os';
import copyToClipboard from '@/scripts/copy-to-clipboard'; import copyToClipboard from '@/scripts/copy-to-clipboard';
import { router } from '@/router'; import { router } from '@/router';
import { deckmode } from '@/config'; import { deckmode, url } from '@/config';
export default defineComponent({ export default defineComponent({
inject: { inject: {
@ -82,7 +82,7 @@ export default defineComponent({
icon: faLink, icon: faLink,
text: this.$t('copyLink'), text: this.$t('copyLink'),
action: () => { action: () => {
copyToClipboard(this.to); copyToClipboard(`${url}${this.to}`);
} }
}], e); }], e);
}, },