Update MkEmbedCodeGenDialog.vue

This commit is contained in:
かっこかり 2024-07-18 18:59:32 +09:00 committed by GitHub
parent ca7992b1ab
commit e6e599ee8c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -104,7 +104,7 @@ import MkInfo from '@/components/MkInfo.vue';
import * as os from '@/os.js'; import * as os from '@/os.js';
import { i18n } from '@/i18n.js'; import { i18n } from '@/i18n.js';
import { url } from '@/config.js'; import { url } from '@/config.js';
import copy from '@/scripts/copy-to-clipboard.js'; import { copyToClipboard } from '@/scripts/copy-to-clipboard.js';
import { normalizeEmbedParams, getEmbedCode } from '@/scripts/get-embed-code.js'; import { normalizeEmbedParams, getEmbedCode } from '@/scripts/get-embed-code.js';
import { embedRouteWithScrollbar } from '@/scripts/embed-page.js'; import { embedRouteWithScrollbar } from '@/scripts/embed-page.js';
import type { EmbeddableEntity, EmbedParams } from '@/scripts/embed-page.js'; import type { EmbeddableEntity, EmbedParams } from '@/scripts/embed-page.js';
@ -199,7 +199,7 @@ function generate() {
} }
function doCopy() { function doCopy() {
copy(result.value); copyToClipboard(result.value);
os.success(); os.success();
} }
//#endregion //#endregion