Skip to content

Commit

Permalink
fix: fix page createTime
Browse files Browse the repository at this point in the history
  • Loading branch information
xcyeye committed Dec 28, 2021
1 parent 6011481 commit ce245df
Show file tree
Hide file tree
Showing 22 changed files with 10 additions and 4,070 deletions.
4 changes: 2 additions & 2 deletions Aurora-theme/lib/client/components/HomeBottom.vue
Expand Up @@ -154,8 +154,8 @@ export default {
}).then((tempPageArr) => {
new Promise((resolve,reject) => {
for (let i = tempPageArr.length; i >0; i--) {
this.allPageArr.push(tempPageArr[i -1])
for (let i = 0; i < tempPageArr.length; i++) {
this.allPageArr.push(tempPageArr[i])
}
resolve()
}).then(() => {
Expand Down
10 changes: 8 additions & 2 deletions Aurora-theme/lib/client/components/child/home/HomePageItem.vue
Expand Up @@ -138,7 +138,7 @@ export default {
if (time === 0) {
//没有时间戳
return ''
return '1970-1-1 08:00'
}
let date = new Date(time);
Expand All @@ -148,7 +148,13 @@ export default {
let hours = date.getHours()
let min = date.getMinutes()
let sec = date.getSeconds()
return year + "-" + month + "-" + day + " "
if (hours < 10) {
hours = "0" + hours
}
if (min < 10) {
min = "0" + min
}
return year + "-" + month + "-" + day + " " + hours + ":" + min
},
handleScroll() {
let clientHeight = document.documentElement.clientHeight
Expand Down
176 changes: 0 additions & 176 deletions docs/linux/RPM包管理.md

This file was deleted.

24 changes: 0 additions & 24 deletions docs/linux/readme.md

This file was deleted.

0 comments on commit ce245df

Please sign in to comment.