fix: 修改容器名称校验 (#2467)

Refs #2465
pull/2468/head
ssongliu 1 year ago committed by GitHub
parent 124d1e8884
commit 90ba0faa77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -327,7 +327,7 @@ const handleClose = () => {
}; };
const rules = reactive({ const rules = reactive({
name: [Rules.requiredInput, Rules.volumeName], name: [Rules.requiredInput, Rules.containerName],
image: [Rules.requiredInput], image: [Rules.requiredInput],
cpuShares: [Rules.integerNumberWith0, checkNumberRange(0, 262144)], cpuShares: [Rules.integerNumberWith0, checkNumberRange(0, 262144)],
nanoCPUs: [Rules.floatNumber], nanoCPUs: [Rules.floatNumber],

Loading…
Cancel
Save