Skip to content

Commit

Permalink
fix(calendar): 动态更新calendar面板value值 (#2552)
Browse files Browse the repository at this point in the history
use-popup为false时,异步设置value,选择日期无法更新渲染

Co-authored-by: 杜孙鹤 <1332455718@qq.com>
  • Loading branch information
delgithub and delgithub authored Jan 15, 2024
1 parent fd92984 commit 70f335e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/calendar/calendar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ export default class Calendar extends SuperComponent {
},
value(v) {
this.base.value = v;
this.calcMonths();
},
visible(v) {
if (v) {
Expand Down

0 comments on commit 70f335e

Please sign in to comment.