fix: Copy instruction judgment logic.

This commit is contained in:
chansee97 2025-06-17 16:34:19 +08:00
parent 56f6415ef2
commit bc968dc7f7

View File

@ -15,7 +15,7 @@ export function install(app: App) {
return false
}
if (permissionWrite.value !== 'granted') {
if (permissionWrite.value === 'denied') {
window.$message.error($t('components.copyText.unpermittedError'))
return false
}