Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
myvin committed Aug 21, 2018
1 parent 273318c commit 6e5c06e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/articleData/articleData.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Page({
username: userInfo.username,
postedEntriesCount: 0,
totalCollectionsCount: this.generateZeroArr(userInfo.totalCollectionsCount.length),
totalViewsCount: this.generateZeroArr(userInfo.totalViewsCount.length),
totalViewsCount: this.generateZeroArr(userInfo.totalViewsCount && userInfo.totalViewsCount.length),
totalCommentsCount: this.generateZeroArr(userInfo.totalCommentsCount.length),
},
})
Expand Down

0 comments on commit 6e5c06e

Please sign in to comment.