1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/TencentCloudBase-cloudbase-extension-cms

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Это зеркальный репозиторий, синхронизируется ежедневно с исходного репозитория.
Клонировать/Скачать
sam-ui.yml 4 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
cwuyiqing Отправлено 29.12.2020 16:01 7c60377
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}

Комментарий ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://gitlife.ru/oschina-mirror/TencentCloudBase-cloudbase-extension-cms.git
git@gitlife.ru:oschina-mirror/TencentCloudBase-cloudbase-extension-cms.git
oschina-mirror
TencentCloudBase-cloudbase-extension-cms
TencentCloudBase-cloudbase-extension-cms
master