This commit is contained in:
@@ -68,12 +68,12 @@ defineOptions({
|
||||
|
||||
const props = withDefaults(defineProps<Props>(), {
|
||||
avatar: '',
|
||||
description: '',
|
||||
enableShortcutKey: true,
|
||||
menus: () => [],
|
||||
showShortcutKey: true,
|
||||
tagText: '',
|
||||
text: '',
|
||||
description: '',
|
||||
trigger: 'click',
|
||||
hoverDelay: 500,
|
||||
});
|
||||
@@ -168,6 +168,7 @@ if (enableShortcutKey.value) {
|
||||
v-if="preferences.widget.lockScreen"
|
||||
:avatar="avatar"
|
||||
:text="text"
|
||||
:description="description"
|
||||
@submit="handleSubmitLock"
|
||||
/>
|
||||
|
||||
@@ -214,7 +215,7 @@ if (enableShortcutKey.value) {
|
||||
</Badge>
|
||||
</slot>
|
||||
</div>
|
||||
<div class="text-muted-foreground text-xs font-normal">
|
||||
<div class="text-muted-foreground text-xs font-normal">
|
||||
{{ description }}
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -26,6 +26,10 @@ interface BasicUserInfo {
|
||||
* 用户名
|
||||
*/
|
||||
username: string;
|
||||
/**
|
||||
* 邮箱
|
||||
*/
|
||||
email: string;
|
||||
}
|
||||
|
||||
interface AccessState {
|
||||
|
Reference in New Issue
Block a user