Skip to content

Commit

Permalink
修复图虫文章类封面展示
Browse files Browse the repository at this point in the history
  • Loading branch information
bh-lay committed Aug 30, 2017
1 parent 2203de0 commit 183ba02
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontEnd/single-page/js/page/photographyList.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ var getData = function(callback){
function filterData(list){
list.forEach(function (item) {
item.url += '?from=bh-lay';
item.thumb = (item.images && item.images.length) ? item.images[0].source.g : '';
item.thumb = (item.images && item.images.length) ? item.images[0].source.g : (item.title_image ? item.title_image.url : '');
item.desc = item.excerpt;
item.like = item.favorites;
});
Expand Down
4 changes: 2 additions & 2 deletions frontEnd/single-page/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3517,9 +3517,9 @@ tweetnacl@^0.14.3, tweetnacl@~0.14.0:
version "0.14.5"
resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64"

"uglify-es@git://github.com/mishoo/UglifyJS2#harmony":
"uglify-es@git://github.com/mishoo/UglifyJS2.git#harmony":
version "3.0.28"
resolved "git://github.com/mishoo/UglifyJS2#067d52b6bac67378cccbc8fdea2320676aafc47e"
resolved "git://github.com/mishoo/UglifyJS2.git#067d52b6bac67378cccbc8fdea2320676aafc47e"
dependencies:
commander "~2.11.0"
source-map "~0.5.1"
Expand Down

0 comments on commit 183ba02

Please sign in to comment.