Element UI version
0.1.0
OS/Browsers version
mac
Vue version
2.6.11
Reproduction Link
https://codepen.io/pen/?&editable=true
Steps to reproduce
DatePicker type="week"以后,设置部分日期可以选择,某周存在可以选择日期但周一disabled,那本周就无法选择。
源码中代码:const row = target.parentNode.rowIndex - 1;
const column = this.selectionMode === 'week' ? 1 : target.cellIndex;
const cell = this.rows[row][column];
if (cell.disabled || cell.type === 'week') return;
What is Expected?
源码中type="week"以后,设置部分日期可以选择,若某周存在可以选择日期,那本周就可以选择。
What is actually happening?
DatePicker type="week"以后,设置部分日期可以选择,某周存在可以选择日期但周一disabled,那本周就无法选择。
4条答案
按热度按时间a6b3iqyw1#
有解决办法吗
sg24os4d2#
我直接拉代码到本地修改源码,打包上传到我们自己的gitlab,修改了element在packjson地址,重新安装的。
e0bqpujr3#
自己把改源码嘛
omjgkv6w4#
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.