fix: casdoor表单验证

This commit is contained in:
新疆萌森软件开发工作室 2024-11-22 14:42:29 +08:00 committed by GitHub
parent c3f59c3601
commit 7766466b2a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -67,14 +67,14 @@ additionalProperties:
envKey: DB_HOSTNAME envKey: DB_HOSTNAME
labelZh: 数据库 主机地址 labelZh: 数据库 主机地址
labelEn: Database Host labelEn: Database Host
required: false required: true
type: text type: text
- default: 5432 - default: 5432
edit: true edit: true
envKey: DB_PORT envKey: DB_PORT
labelZh: 数据库 端口 labelZh: 数据库 端口
labelEn: Database Port labelEn: Database Port
required: false required: true
rule: paramPort rule: paramPort
type: number type: number
- default: "casdoor" - default: "casdoor"
@ -82,7 +82,7 @@ additionalProperties:
envKey: DB_USER envKey: DB_USER
labelZh: 数据库 用户名 labelZh: 数据库 用户名
labelEn: Database User labelEn: Database User
required: false required: true
type: text type: text
- default: "" - default: ""
edit: true edit: true
@ -90,7 +90,7 @@ additionalProperties:
labelEn: Database Password labelEn: Database Password
labelZh: 数据库 密码 labelZh: 数据库 密码
random: true random: true
required: false required: true
rule: paramComplexity rule: paramComplexity
type: password type: password
- default: "casdoor" - default: "casdoor"
@ -98,7 +98,7 @@ additionalProperties:
envKey: DB_NAME envKey: DB_NAME
labelZh: 数据库 名称 labelZh: 数据库 名称
labelEn: Database Name labelEn: Database Name
required: false required: true
type: text type: text
- default: "127.0.0.1" - default: "127.0.0.1"
edit: true edit: true