Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -190,7 +190,7 @@ class CommentViewModel { | @@ -190,7 +190,7 @@ class CommentViewModel { | ||
| 190 | 190 | ||
| 191 | if (!userId && !FIRSTCOMMENTTIME) { | 191 | if (!userId && !FIRSTCOMMENTTIME) { |
| 192 | //保存首次评论时间 | 192 | //保存首次评论时间 |
| 193 | - SPHelper.default.saveSync('firstCommentTime', DateTimeUtils.formatDate(data.timestamp, DateTimeUtils.PATTERN_DATE_TIME_HYPHEN)) | 193 | + SPHelper.default.saveSync(SpConstants.FIRSTCOMMENTTIME, DateTimeUtils.formatDate(data.timestamp, DateTimeUtils.PATTERN_DATE_TIME_HYPHEN)) |
| 194 | } | 194 | } |
| 195 | success(model) | 195 | success(model) |
| 196 | }, (error: Error) => { | 196 | }, (error: Error) => { |
-
Please register or login to post a comment