Commit 17ebdd25 by caoyanzhi

修改有效期区间限制

parent 3c2f167d
......@@ -163,7 +163,10 @@ export default {
tagsGroupRelation: [],
pickerOptions: {
disabledDate(time) {
return time.getTime() < Date.now();
let curDate = new Date().getTime();
let oneYear = 365 * 24 * 3600 * 1000;
let y = curDate + oneYear;
return time.getTime() < Date.now() - 8.64e7 || time.getTime() > y;
}
},
// 面包屑参数
......
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