From 9e9bf77dd8cf92d1aa3994b5dd5e8759cf12f65b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=B0=E4=B8=B0?= <104338839+anjiazhuyouxing@users.noreply.github.com> Date: Mon, 13 Jan 2025 17:00:25 +0800 Subject: [PATCH] fix: add default parameter configuration (#2670) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 田丰 --- packages/semi-ui/jsonViewer/index.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/semi-ui/jsonViewer/index.tsx b/packages/semi-ui/jsonViewer/index.tsx index 5fad1178aa..61d01997b2 100644 --- a/packages/semi-ui/jsonViewer/index.tsx +++ b/packages/semi-ui/jsonViewer/index.tsx @@ -52,6 +52,10 @@ class JsonViewerCom extends BaseComponent { width: 400, height: 400, value: '', + options: { + readOnly: false, + autoWrap: true + } }; private editorRef: React.RefObject;