Skip to content

Commit

Permalink
fix(Admin): 修复后台动态管理预览动态图片非原本动态图片 Bug
Browse files Browse the repository at this point in the history
fix #624
  • Loading branch information
medz committed Mar 1, 2019
1 parent 6288eb4 commit da22ac9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ export default function Preview(props) {
<div className={classes.imageRoot}>
<GridList cols={images.length > 3 ? 2.5 : images.length} className={classes.imageGridList}>
{images.map(image => (
<GridListTile key={image.file_id}>
<img src={createRequestURI(`../../../api/v2/files/${image.file_id}`)} />
<GridListTile key={image.id}>
<img src={createRequestURI(`../../../api/v2/files/${image.id}`)} />
{image.paid_node ? (
<GridListTileBar
title={`${image.paid_node.extra === 'read' ? '查看' : '下载'}收费`}
Expand Down
2 changes: 1 addition & 1 deletion packages/slimkit-plus-feed/assets/admin.js

Large diffs are not rendered by default.

0 comments on commit da22ac9

Please sign in to comment.