mirror of
https://github.com/chansee97/nova-admin.git
synced 2025-06-26 19:59:16 +08:00
fix: Copy instruction judgment logic.
This commit is contained in:
parent
56f6415ef2
commit
bc968dc7f7
@ -15,7 +15,7 @@ export function install(app: App) {
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
if (permissionWrite.value !== 'granted') {
|
if (permissionWrite.value === 'denied') {
|
||||||
window.$message.error($t('components.copyText.unpermittedError'))
|
window.$message.error($t('components.copyText.unpermittedError'))
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user