diff --git a/src/forge/Main/IndexItem.js b/src/forge/Main/IndexItem.js index 17341a215..2b939fe54 100644 --- a/src/forge/Main/IndexItem.js +++ b/src/forge/Main/IndexItem.js @@ -25,7 +25,7 @@ class IndexItem extends Component{
- {item.name} +

{item.author.name}

{item.name}

{item.description}

diff --git a/src/forge/Order/Detail.js b/src/forge/Order/Detail.js index ecbf0ead1..c5821d2c3 100644 --- a/src/forge/Order/Detail.js +++ b/src/forge/Order/Detail.js @@ -314,11 +314,13 @@ class Detail extends Component{ commentCtx = (ctx) => { let _ctx = null; + try { _ctx = JSON.parse(ctx); } catch (e) { _ctx = ctx; } + return ( */} - {this.commentCtx(data && data.description)} + + {data&&data.description===""?没有描述:this.commentCtx(data && data.description)}
{ data && data.attachments && data.attachments.length > 0 ? diff --git a/src/forge/quillForEditor/index.js b/src/forge/quillForEditor/index.js index 98f8dba64..5bf6819fe 100644 --- a/src/forge/quillForEditor/index.js +++ b/src/forge/quillForEditor/index.js @@ -208,7 +208,6 @@ function QuillForEditor({ const previous = quill.getContents() if (value && value.hasOwnProperty('ops')) { - // console.log(value.ops); const ops = value.ops || []; ops.forEach((item, i) => { if (item.insert['image']) {