修改限时密码问题

This commit is contained in:
魏少阳 2024-04-24 13:57:00 +08:00
parent 1740eeadaf
commit 5561996f05

View File

@ -70,11 +70,11 @@ class PasswordKeyPerpetualLogic extends BaseGetXController {
return;
}
}else{
if (endDate < DateTool().dateToTimestamp(DateTool().getNowDateWithType(3), 1)) {
showToast("生效时间不能小于当前时间".tr);
if (endDate <= DateTool().dateToTimestamp(DateTool().getNowDateWithType(3), 1)) {
showToast("生效时间要大于当前时间".tr);
return;
}
startDate = 0;
// startDate = 0;
}
getKeyType = '3';
} else if (state.widgetType.value == 2) {