Skip to content

Commit 3d8d78e

Browse files
committed
fix: item not active when set mode year #1321
1 parent 725a7f5 commit 3d8d78e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/vc-calendar/src/year/YearPanel.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ function chooseYear(year) {
1515
const value = this.sValue.clone();
1616
value.year(year);
1717
value.month(this.sValue.month());
18+
this.sValue = value
1819
this.__emit('select', value);
1920
}
2021

0 commit comments

Comments
 (0)