-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
src/components/SelectSystemConfig/SelectForm.js
timeout: [
{
required: true,
message: this.t('prompt.enter-ttl-in-hours')
},
{
validator: (rule, value, callback) => {
if (
(/^\d+$/g.test(value) && value >= 1 && value <= 24) ||
value === ""
) {
return callback();
}
callback(this.t('sentence.err-ttl-in-hours'));
},
message: this.t('sentence.msg-ttl-in-hours')
}
]
请问您这其中设置容器存活时间的代码是怎么样的呢?这个文件中的 value <= 24 修改为240,创建了一个48h的容器,但是仍然没有成功存活超过24h
Metadata
Metadata
Assignees
Labels
No labels