mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-06-06 21:24:10 +00:00
fix(api-docs): use ClipboardManager.copyText instead of copy to fix API token copy button
This commit is contained in:
parent
8e30a23a5f
commit
34ea51f7b4
1 changed files with 1 additions and 1 deletions
|
|
@ -112,7 +112,7 @@ function regenerateApiToken() {
|
|||
|
||||
async function copyApiToken() {
|
||||
if (!apiToken.value) return;
|
||||
const ok = await ClipboardManager.copy(apiToken.value);
|
||||
const ok = await ClipboardManager.copyText(apiToken.value);
|
||||
if (ok) message.success(t('success'));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue