修复bug:日记详情页ok绷不可点

This commit is contained in:
xuwenyang 2019-07-07 17:55:20 +08:00
parent 0d8d2e31df
commit 1170e7bcab

View file

@ -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 {