chore: Use clipboard API directly (#14227)

* chore: Use clipboard API directly

* fix: Fix lint
This commit is contained in:
Chocolate Pie 2024-07-17 21:52:05 +09:00 committed by GitHub
parent 8b4933cc48
commit 68bcd91d57
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 23 additions and 50 deletions

View file

@ -16,7 +16,7 @@ export type MkABehavior = 'window' | 'browser' | null;
<script lang="ts" setup>
import { computed, inject, shallowRef } from 'vue';
import * as os from '@/os.js';
import copyToClipboard from '@/scripts/copy-to-clipboard.js';
import { copyToClipboard } from '@/scripts/copy-to-clipboard.js';
import { url } from '@/config.js';
import { i18n } from '@/i18n.js';
import { useRouter } from '@/router/supplier.js';