mirror of
https://github.com/timepill/timepill-app.git
synced 2025-04-30 09:59:31 +08:00
修复bug:日记详情页ok绷不可点
This commit is contained in:
parent
0d8d2e31df
commit
1170e7bcab
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ function getTodayStr() {
|
||||||
let month = now.getMonth() + 1;
|
let month = now.getMonth() + 1;
|
||||||
let date = now.getDate();
|
let date = now.getDate();
|
||||||
|
|
||||||
return year + '-' + (month > 9 ? month : '0' + month) + '-' + date;
|
return year + '-' + (month > 9 ? month : '0' + month) + '-' + (date > 9 ? date : '0' + date);
|
||||||
}
|
}
|
||||||
|
|
||||||
export default class DiaryDetailPage extends Component {
|
export default class DiaryDetailPage extends Component {
|
||||||
|
|
Loading…
Reference in a new issue