perf: 修改PostgreSQL数据库参数为必填

This commit is contained in:
jiangweidong
2023-02-16 17:23:55 +08:00
committed by huailei
parent 44ca4e7620
commit 00fb4ffc85

View File

@@ -75,7 +75,7 @@ export default {
component: UploadKey
}
}
if (platform === 'mongodb') {
if (['mongodb', 'postgresql'].indexOf(platform) !== -1) {
fieldsMeta['db_name']['rules'] = [rules.Required]
}
return fieldsMeta