1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
| <script setup lang="ts">
| import { computed } from 'vue';
|
| import { ProfileSecuritySetting } from '@vben/common-ui';
|
| const formSchema = computed(() => {
| return [
| {
| value: true,
| fieldName: 'accountPassword',
| label: '账户密码',
| description: '当前密码强度:强',
| },
| {
| value: true,
| fieldName: 'securityPhone',
| label: '密保手机',
| description: '已绑定手机:138****8293',
| },
| {
| value: true,
| fieldName: 'securityQuestion',
| label: '密保问题',
| description: '未设置密保问题,密保问题可有效保护账户安全',
| },
| {
| value: true,
| fieldName: 'securityEmail',
| label: '备用邮箱',
| description: '已绑定邮箱:ant***sign.com',
| },
| {
| value: false,
| fieldName: 'securityMfa',
| label: 'MFA 设备',
| description: '未绑定 MFA 设备,绑定后,可以进行二次确认',
| },
| ];
| });
| </script>
| <template>
| <ProfileSecuritySetting :form-schema="formSchema" />
| </template>
|
|