fix: 使用type值

This commit is contained in:
jiangweidong 2023-01-30 20:33:11 +08:00 committed by Jiangjie.Bai
parent 15cf13d4de
commit c16be0a85c

View File

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