75 lines
1.6 KiB
Plaintext
75 lines
1.6 KiB
Plaintext
[
|
|
{
|
|
"stepTitle": "创建管理员",
|
|
"items": [
|
|
{
|
|
"type": "text",
|
|
"field": "cer_user",
|
|
"label": "邮箱",
|
|
"rules": [
|
|
{
|
|
"required": true,
|
|
"message": "请输入管理员邮箱"
|
|
},
|
|
{
|
|
"pattern": "^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$",
|
|
"message": "邮箱格式错误"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "password",
|
|
"field": "cer_pwd",
|
|
"label": "管理员密码",
|
|
"rules": [
|
|
{
|
|
"required": true,
|
|
"message": "请输入管理员密码"
|
|
},
|
|
{
|
|
"min": 8,
|
|
"message": "密码长度不能少于8位"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "password",
|
|
"field": "wizard_admin_password_confirm",
|
|
"label": "确认密码",
|
|
"rules": [
|
|
{
|
|
"required": true,
|
|
"message": "请确认密码"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"stepTitle": "请选择访问范围",
|
|
"items": [
|
|
{
|
|
"type": "select",
|
|
"field": "server_address",
|
|
"label": "访问范围",
|
|
"initValue": "127.0.0.1",
|
|
"options": [
|
|
{
|
|
"label": "127.0.0.1",
|
|
"value": "127.0.0.1"
|
|
},
|
|
{
|
|
"label": "0.0.0.0",
|
|
"value": "0.0.0.0"
|
|
}
|
|
],
|
|
"rules": [
|
|
{
|
|
"required": true,
|
|
"message": "请选择访问范围"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
] |