mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-08 09:16:58 +08:00
Update AccountSettingSystem.vue
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user