fix: 修改校验规则

This commit is contained in:
zhengkunwang223 2022-12-21 15:58:15 +08:00 committed by zhengkunwang223
parent 0a8bf98ee9
commit 6593c6de66
2 changed files with 2 additions and 2 deletions

View File

@ -108,7 +108,7 @@ const handleParams = () => {
} else {
rules[p.envKey] = [Rules.requiredInput];
if (p.envKey === 'PANEL_DB_NAME') {
rules[p.envKey].push(Rules.databaseName);
rules[p.envKey].push(Rules.linuxName);
}
}
}

View File

@ -169,7 +169,7 @@ let rules = reactive({
appType: [Rules.requiredInput],
proxy: [Rules.requiredInput],
appinstall: {
name: [Rules.name],
name: [Rules.linuxName],
appId: [Rules.requiredSelectBusiness],
params: {},
},