Update AccountSettingSystem.vue

This commit is contained in:
Aqr-K
2024-12-09 14:31:45 +08:00
committed by GitHub
parent ce9399b894
commit 420827c389
+2 -2
View File
@@ -204,8 +204,8 @@ async function copyValue(value: string) {
try { try {
let success let success
success = copyToClipboard(value) success = copyToClipboard(value)
if (await success) $toast.success('已复制到剪贴板') if (await success) $toast.success('已复制到剪贴板')
else $toast.error(`复制失败:可能是浏览器不支持或被用户阻止!`) else $toast.error(`复制失败:可能是浏览器不支持或被用户阻止`)
} catch (error) { } catch (error) {
$toast.error('复制失败!') $toast.error('复制失败!')
console.log(error) console.log(error)