Commit 595271f4 authored by Leopoldthecoder's avatar Leopoldthecoder Committed by 杨奕

DatePicker: update week when value changes

parent bda5754d
......@@ -183,6 +183,7 @@
date(newVal) {
this.year = newVal.getFullYear();
this.month = newVal.getMonth();
if (this.selectionMode === 'week') this.week = getWeekNumber(newVal);
}
},
......
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