From 22c00f5ce335e3aed1ac3dc3fd007f22f2c915a8 Mon Sep 17 00:00:00 2001
From: dinglink <837816638@qq.com>
Date: Fri, 20 Mar 2020 22:07:34 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8F=8F=E8=BF=B0=E4=B8=BA=E7=A9=BA=E6=98=AFun?=
=?UTF-8?q?dfind=E7=9A=84=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/forge/Main/IndexItem.js | 2 +-
src/forge/Order/Detail.js | 5 ++++-
src/forge/quillForEditor/index.js | 1 -
3 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/forge/Main/IndexItem.js b/src/forge/Main/IndexItem.js
index 17341a21..2b939fe5 100644
--- a/src/forge/Main/IndexItem.js
+++ b/src/forge/Main/IndexItem.js
@@ -25,7 +25,7 @@ class IndexItem extends Component{
{item.author.name}
{item.name}{item.description}
diff --git a/src/forge/Order/Detail.js b/src/forge/Order/Detail.js index ecbf0ead..c5821d2c 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 (