新增界面超时或手动 锁定功能

This commit is contained in:
lai
2024-01-11 17:55:13 +08:00
parent 2392046e83
commit a8343ad3d7
3 changed files with 144 additions and 1 deletions

View File

@@ -6,6 +6,7 @@ import useI18n from '@/hooks/useI18n';
import useAppStore from '@/store/modules/app';
import useUserStore from '@/store/modules/user';
import useAlarmStore from '@/store/modules/alarm';
import LockScreen from '@/components/LockScreen/index.vue';
const { isFullscreen, toggle } = useFullscreen();
const { t, changeLocale, optionsLocale } = useI18n();
const userStore = useUserStore();
@@ -61,7 +62,7 @@ function fnChangeLocale(e: any) {
</a-badge>
</template>
</a-button>
<LockScreen />
<a-tooltip placement="bottom">
<template #title>{{ t('loayouts.rightContent.helpDoc') }}</template>
<a-button type="text" @click="fnClickHelpDoc()">