feat: make auth modal cannot be close by user (#24)

This commit is contained in:
Dream Hunter
2023-09-10 00:18:09 +08:00
committed by GitHub
parent 68cb005dd3
commit 0bca2b8dce

View File

@@ -115,7 +115,8 @@ const { t } = useI18n({
</n-button>
</template>
</n-modal>
<n-modal v-model:show="showAuth" preset="dialog" title="Dialog">
<n-modal v-model:show="showAuth" :closable="false" :closeOnEsc="false" :maskClosable="false" preset="dialog"
title="Dialog">
<template #header>
<div>{{ t('auth') }}</div>
</template>