fix: 锁屏密码dom错误

This commit is contained in:
TsMask
2025-04-22 14:33:58 +08:00
parent 00e97feac7
commit 2b8e222f23

View File

@@ -87,14 +87,15 @@ onMounted(() => {
:maxlength="32" :maxlength="32"
style="width: calc(100% - 50px)" style="width: calc(100% - 50px)"
@keyup.enter="handleUnlock" @keyup.enter="handleUnlock"
></a-input> />
<a-button type="primary" block @click="handleUnlock" v-else>
{{ t('components.LockScreen.enter') }}
</a-button>
<a-button type="primary" @click="handleUnlock"> <a-button type="primary" @click="handleUnlock">
<LoginOutlined /> <LoginOutlined />
</a-button> </a-button>
</a-input-group> </a-input-group>
<a-button type="primary" block @click="handleUnlock" v-else>
{{ t('components.LockScreen.enter') }}
</a-button>
<a-button type="text" class="logout" @click="handleBackLogin"> <a-button type="text" class="logout" @click="handleBackLogin">
{{ t('components.LockScreen.backLogin') }} {{ t('components.LockScreen.backLogin') }}
</a-button> </a-button>