Skip to content

Commit

Permalink
文章发布-图片地址bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dsaco committed Mar 6, 2017
1 parent 7e7c4dd commit f8fcf4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/components/PlayDraft/PlayDraftEditor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ export default class extends Component {
_addImage(imageKey){
const { editorState } = this.state
const contentState = editorState.getCurrentContent()
const src = CDN.show(imageKey) + '-articlestyle';
const src = CDN.show(imageKey) + '?articlestyle';
const size = 'auto'
const type = 'image'
const contentStateWithEntity = contentState.createEntity('image', 'IMMUTABLE', {src,size,type})
Expand Down

0 comments on commit f8fcf4e

Please sign in to comment.