mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-19 14:54:00 +08:00
fix: 修改校验规则
This commit is contained in:
parent
0a8bf98ee9
commit
6593c6de66
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -169,7 +169,7 @@ let rules = reactive({
|
||||
appType: [Rules.requiredInput],
|
||||
proxy: [Rules.requiredInput],
|
||||
appinstall: {
|
||||
name: [Rules.name],
|
||||
name: [Rules.linuxName],
|
||||
appId: [Rules.requiredSelectBusiness],
|
||||
params: {},
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user