Skip to content

Commit

Permalink
refactor: debugLog中formData格式化显示 (alibaba#729)
Browse files Browse the repository at this point in the history
Co-authored-by: guoli <guoli@zhihu.com>
  • Loading branch information
leeguooooo and leeguooooo authored Apr 7, 2022
1 parent 784024c commit c7cc702
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/form-render/src/form-render-core/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -322,10 +322,11 @@ function App({
style={{
display: 'inline-block',
wordBreak: 'break-all',
whiteSpace: 'pre-wrap',
maxWidth: 600,
}}
>
{JSON.stringify(form.formData)}
{JSON.stringify(form.formData, null, 4)}
</span>
</div>
<div>{'errorFields:' + JSON.stringify(form.errorFields)}</div>
Expand Down

0 comments on commit c7cc702

Please sign in to comment.