代码拉取完成,页面将自动刷新
Form:
Attributes:
- class: "tea-form tea-form-s"
- data: 1
- isForm: true
Children:
- Label:
Value: 管理员账号
Attributes:
- class: "tea-form-item"
Input:
Name: ADMIN
Attributes:
- type: text
- placeHolder: "管理员账号,字母和数字的组合,不能为纯数字,长度范围是 1 ~ 32"
- class: "tea-input tea-input-s"
- size: l
Validation:
Type: Attribute
Rule: ${STRING(value)}.$match(\\D+,g).$match(^[a-zA-Z0-9]+[a-zA-Z0-9_-]*[a-zA-Z0-9]+$,g)
ErrorMessage: "字母和数字的组合,不能为纯数字,长度范围是 1 ~ 32"
ValueFor: ${Resources.InitFunction.Properties.Environment.Variables.CMS_ADMIN_USER_NAME}
- Label:
Value: 管理员密码
Attributes:
- class: "tea-form-item"
Input:
Name: ADMIN_PASSWORD
Attributes:
- type: text
- placeHolder: "管理员密码,长度必需大于 8 位,不能由纯数字或纯字母组成"
- class: "tea-input tea-input-s"
- size: l
Validation:
Type: Attribute
Rule: ${STRING(value)}.$match(\\D+,g).$match([^a-zA-Z]).$match(.{8,32})
ErrorMessage: "长度必需大于 8 位,不能由纯数字或纯字母组成"
ValueFor: ${Resources.InitFunction.Properties.Environment.Variables.CMS_ADMIN_PASS_WORD}
- Label:
Value: 运营者账号(选填)
Attributes:
- class: "tea-form-item"
Input:
Required: false
Attributes:
- type: text
- placeHolder: "运营者账号(字母和数字的组合,不能为纯数字,长度范围是 1 ~ 32,不能和管理员账号相同)"
- class: "tea-input tea-input-s"
- size: l
Validation:
Type: Attribute
Rule: ${STRING(value)}.$match(\\D+,g).$match(^[a-zA-Z0-9]+[a-zA-Z0-9_-]*[a-zA-Z0-9]+$,g)
ErrorMessage: "字母和数字的组合,不能为纯数字,长度范围是 1 ~ 32"
CasCadeRule:
Master: ADMIN
Type: VALIDATOR
Rule: NOTEQUAL
ErrorMessage: "不能和管理员账号相同"
ValueFor: ${Resources.InitFunction.Properties.Environment.Variables.CMS_OPERATOR_USER_NAME}
- Label:
Value: 运营者密码(选填)
Attributes:
- class: "tea-form-item"
Input:
Required: false
Attributes:
- type: text
- placeHolder: "运营者密码,长度必需大于 8 位,不能由纯数字或纯字母组成"
- class: "tea-input tea-input-s"
- size: l
Validation:
Type: Attribute
Rule: ${STRING(value)}.$match(\\D+,g).$match([^a-zA-Z]).$match(.{8,32})
ErrorMessage: "长度必需大于 8 位,不能由纯数字或纯字母组成"
CasCadeRule:
Master: ADMIN_PASSWORD
Type: VALIDATOR
Rule: NOTEQUAL
ErrorMessage: "不能和管理员密码相同"
ValueFor: ${Resources.InitFunction.Properties.Environment.Variables.CMS_OPERATOR_PASS_WORD}
- Label:
Value: 部署路径(选填)
Attributes:
- class: "tea-form-item"
Input:
Required: false
Attributes:
- type: text
- defaultValue: "/tcb-cms/"
- placeHolder: "请设置部署路径"
- class: "tea-input tea-input-s"
- size: l
ValueFor: ${Resources.InitFunction.Properties.Environment.Variables.CMS_DEPLOY_PATH}
- Label:
Value: HTTP 访问服务域名(选填)
Attributes:
- class: "tea-form-item"
Input:
Required: false
Attributes:
- type: text
- placeHolder: "CMS 自定义 HTTP 访问服务域名,如 api.cloudbase.net"
- class: "tea-input tea-input-s"
- size: l
ValueFor: ${Resources.InitFunction.Properties.Environment.Variables.ACCESS_DOMAIN}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。