date-week-range
date-week-range copied to clipboard
v1.0.5使用了disabledDate,如果当前选择范围开始那一周存在几天被禁用了,那么会无法正常选择周期范围
new Vue({
data() {
return {
test: [new Date()],
pickerOptions: {
disabledDate: (time) => {
return time.getTime() < 1709192714000
}
}
}
}
}).$mount("#app");
gif地址:https://github.com/xiaofan9/date-week-range/assets/59193698/422e34a7-8c0e-41dd-90ec-e36a540c54e8
我帮你找到问题了,我本地改完了