Commit 9738054d authored by Jiewei Qian's avatar Jiewei Qian Committed by hetech

DatePicker: optimize code, fix #12980, follow up #8156 (#13374)

* date-table: simplify implementation, fix #12980

* date-table: remove rangeState's row and column

* date-table: fix disabled cell highlight

this is a regression introduced in pr #8156, which allows disabled date to be
highlighted.

Also simplifies handleClick's implementation to avoid DOM operations.
parent 61f2b8af
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