diff --git a/frontend/src/components/business/ms-personal-drawer/components/apiKey.vue b/frontend/src/components/business/ms-personal-drawer/components/apiKey.vue index dccbe730d3..d98d9ad5fa 100644 --- a/frontend/src/components/business/ms-personal-drawer/components/apiKey.vue +++ b/frontend/src/components/business/ms-personal-drawer/components/apiKey.vue @@ -225,9 +225,9 @@ }, ]; - async function handleCopy(val: string) { + function handleCopy(val: string) { if (isSupported) { - await copy(val); + copy(val); Message.success(t('ms.personal.copySuccess')); } else { Message.warning(t('common.copyNotSupport'));