mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-25 14:25:23 +00:00
perf: 修改PostgreSQL数据库参数为必填
This commit is contained in:
@@ -75,7 +75,7 @@ export default {
|
|||||||
component: UploadKey
|
component: UploadKey
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (platform === 'mongodb') {
|
if (['mongodb', 'postgresql'].indexOf(platform) !== -1) {
|
||||||
fieldsMeta['db_name']['rules'] = [rules.Required]
|
fieldsMeta['db_name']['rules'] = [rules.Required]
|
||||||
}
|
}
|
||||||
return fieldsMeta
|
return fieldsMeta
|
||||||
|
Reference in New Issue
Block a user