diff --git a/src/web/app/desktop/tags/home-widgets/calendar.tag b/src/web/app/desktop/tags/home-widgets/calendar.tag index fb1f0189cc..87c65729d3 100644 --- a/src/web/app/desktop/tags/home-widgets/calendar.tag +++ b/src/web/app/desktop/tags/home-widgets/calendar.tag @@ -9,21 +9,21 @@ mk-calendar-home-widget(data-special={ special }) div p | 今日: - b { Math.floor(day-p*100)/100 }% + b { day-p.to-fixed(1) }% div.meter div.val(style={ 'width:' + day-p + '%' }) div p | 今月: - b { Math.floor(month-p*100)/100 }% + b { month-p.to-fixed(1) }% div.meter div.val(style={ 'width:' + month-p + '%' }) div p | 今年: - b { Math.floor(year-p*100)/100 }% + b { year-p.to-fixed(1) }% div.meter div.val(style={ 'width:' + year-p + '%' })