mirror of
https://github.com/tiny-craft/tiny-rdm.git
synced 2025-10-14 03:13:43 +08:00
perf: cancel focus for all button components
This commit is contained in:
@@ -91,11 +91,11 @@ const onConfirm = async () => {
|
||||
|
||||
<template #action>
|
||||
<div class="flex-item-expand">
|
||||
<n-button @click="ttlForm.ttl = -1">{{ $t('persist_key') }}</n-button>
|
||||
<n-button :focusable="false" @click="ttlForm.ttl = -1">{{ $t('persist_key') }}</n-button>
|
||||
</div>
|
||||
<div class="flex-item n-dialog__action">
|
||||
<n-button @click="onClose">{{ $t('cancel') }}</n-button>
|
||||
<n-button type="primary" @click="onConfirm">{{ $t('save') }}</n-button>
|
||||
<n-button :focusable="false" @click="onClose">{{ $t('cancel') }}</n-button>
|
||||
<n-button type="primary" :focusable="false" @click="onConfirm">{{ $t('save') }}</n-button>
|
||||
</div>
|
||||
</template>
|
||||
</n-modal>
|
||||
|
Reference in New Issue
Block a user