fix(个人中心): 修复复制功能不生效问题

--bug=1037351 --user=王旭 【个人中心】APIKEY-复制Access Key和Secret Key 功能失败 https://www.tapd.cn/55049933/s/1482756
This commit is contained in:
WangXu10 2024-03-28 14:03:02 +08:00 committed by 刘瑞斌
parent f04bd1c0da
commit 412a67ba1a
1 changed files with 2 additions and 2 deletions

View File

@ -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'));