mirror of
https://github.com/chansee97/nova-admin.git
synced 2025-06-26 11:49:15 +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
|
||||
}
|
||||
|
||||
if (permissionWrite.value !== 'granted') {
|
||||
if (permissionWrite.value === 'denied') {
|
||||
window.$message.error($t('components.copyText.unpermittedError'))
|
||||
return false
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user