Commit 265b44eb by 陈羽

update: update

parent 35b38638
......@@ -370,7 +370,7 @@ export default {
if (this.exportDialog.minDate) {
const curTime = this.exportDialog.minDate.getTime();
const min = curTime - threeMonths > oneYearBefore ? curTime - threeMonths : oneYearBefore;
const max = isSms ? (curTime + threeMonths > beforeDay ? beforeDay : beforeDay + threeMonths) : curTime + threeMonths > new Date().getTime() ? new Date().getTime() : curTime + threeMonths;
const max = isSms ? (curTime + threeMonths > beforeDay ? beforeDay : curTime + threeMonths) : curTime + threeMonths > new Date().getTime() ? new Date().getTime() : curTime + threeMonths;
return val.getTime() > max || val.getTime() < min;
}
return val.getTime() < oneYearBefore || val.getTime() > (isSms ? beforeDay : this.maxDate.getTime());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment