修改 - 时间限制细节问题

This commit is contained in:
suwings 2018-10-08 12:05:29 +08:00
parent 0d5df4e759
commit 00528444be

View File

@ -147,7 +147,7 @@
TOOLS.pushMsgWindow("服务器名字不合法!仅限字母数字下划线!");
return;
}
if (!TOOLS.isSmallDate(this.timeLimitDate)) {
if (this.timeLimitDate != '' && !TOOLS.isSmallDate(this.timeLimitDate)) {
TOOLS.pushMsgWindow("您输入的时间期限格式不正确,请检查再尝试。");
return;
}