使用热门文章的id作为id
This commit is contained in:
parent
042547cdd7
commit
71efe830e7
|
|
@ -194,7 +194,7 @@ app.controller('hotCtr', ['$scope', '$state', '$stateParams', '$filter', '$windo
|
|||
b.fav_count = bookmark.favCount;
|
||||
b.created_at = $filter('date')(new Date(bookmark.createtime < bookmark.updatetime ? bookmark.createtime : bookmark.updatetime), "yyyy-MM-dd HH:mm:ss");
|
||||
b.last_click = $filter('date')(new Date(bookmark.createtime > bookmark.updatetime ? bookmark.createtime : bookmark.updatetime), "yyyy-MM-dd HH:mm:ss");
|
||||
b.id = bookmark.id;
|
||||
b.id = bookmark.articleId;
|
||||
|
||||
b.edit = false;
|
||||
$scope.bookmarks.push(b);
|
||||
|
|
|
|||
Loading…
Reference in New Issue