mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-20 01:34:24 +08:00
show confirm dialog before opening external link
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
|
||||
<div class="login-page-powered-by margin-top-half">
|
||||
<span>Powered by</span>
|
||||
<f7-link external href="https://github.com/mayswind/ezbookkeeping" target="_blank">ezBookkeeping</f7-link>
|
||||
<f7-link @click="openExternalUrl('https://github.com/mayswind/ezbookkeeping')" target="_blank">ezBookkeeping</f7-link>
|
||||
<span>{{ version }}</span>
|
||||
</div>
|
||||
</f7-block-footer>
|
||||
@@ -43,7 +43,7 @@
|
||||
|
||||
<div class="login-page-powered-by margin-top-half">
|
||||
<span>Powered by</span>
|
||||
<f7-link external href="https://github.com/mayswind/ezbookkeeping" target="_blank">ezBookkeeping</f7-link>
|
||||
<f7-link @click="openExternalUrl('https://github.com/mayswind/ezbookkeeping')" target="_blank">ezBookkeeping</f7-link>
|
||||
<span>{{ version }}</span>
|
||||
</div>
|
||||
</f7-toolbar>
|
||||
@@ -79,7 +79,7 @@ const props = defineProps<{
|
||||
}>();
|
||||
|
||||
const { tt } = useI18n();
|
||||
const { showToast, showConfirm } = useI18nUIComponents();
|
||||
const { showToast, showConfirm, openExternalUrl } = useI18nUIComponents();
|
||||
const { version, pinCode, isWebAuthnAvailable, isPinCodeValid, doAfterUnlocked, doRelogin } = useUnlockPageBase();
|
||||
|
||||
const settingsStore = useSettingsStore();
|
||||
|
||||
Reference in New Issue
Block a user