This commit is contained in:
jxxghp
2024-09-18 18:14:33 +08:00
parent 19ce869763
commit 95d8b3d1a6
2 changed files with 82 additions and 5 deletions

View File

@@ -20,7 +20,7 @@ const props = defineProps({
const currentUser = store.state.auth.userName
// 定义触发的自定义事件
const emit = defineEmits(['remove'])
const emit = defineEmits(['remove', 'save'])
// 确认框
const createConfirm = useConfirm()
@@ -147,6 +147,16 @@ onMounted(() => {
</span>
</VListItemTitle>
</VListItem>
<VListItem>
<VListItemTitle class="text-sm">
<span class="font-weight-medium">双重认证</span
><span class="text-body-1">
<VChip size="small" :class="{ 'text-success': user.is_otp }" variant="tonal">
{{ user.is_otp ? '已启用' : '未启用' }}
</VChip>
</span>
</VListItemTitle>
</VListItem>
</VList>
</VCardText>
<VCardText class="flex flex-row justify-center">