feat: add the ability to lock the screen (#30)

* feat: 锁屏功能

* feat: 锁屏样式调整

* feat: complete the lock-screen screen and support shortcut keys and preference configuration

---------

Co-authored-by: vince <vince292007@gmail.com>
This commit is contained in:
Laychen
2024-07-12 12:14:09 +08:00
committed by GitHub
parent 61dbb05b5d
commit 06f5d5686d
27 changed files with 482 additions and 48 deletions

View File

@@ -8,7 +8,7 @@ import Preferences from './preferences-sheet.vue';
/**
* preferences 转成 vue props
* preferences.app.aiAssistant=>appAiAssistant
* preferences.widget.aiAssistant=>widgetAiAssistant
*/
const attrs = computed(() => {
const result: Record<string, any> = {};
@@ -22,7 +22,7 @@ const attrs = computed(() => {
/**
* preferences 转成 vue listener
* preferences.app.aiAssistant=>@update:appAiAssistant
* preferences.widget.aiAssistant=>@update:widgetAiAssistant
*/
const listen = computed(() => {
const result: Record<string, any> = {};