mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-24 20:47:17 +00:00
perf: 修改PostgreSQL数据库参数为必填
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user