fix: 剪切板自动读取失败时静默,仅手动读取时提示

This commit is contained in:
yukaidi
2026-05-29 11:02:00 +08:00
parent 77c953626f
commit e2dc611aa4

View File

@@ -1367,7 +1367,9 @@ export default {
}
} catch (error) {
console.error('读取剪切板失败:', error)
this.$message.error('读取剪切板失败,请检查浏览器权限')
if (isManual) {
this.$message.warning('读取剪切板失败,请手动粘贴链接到输入框')
}
}
},