From 6eea94dd80735ee988154e06dede07179e9ab743 Mon Sep 17 00:00:00 2001 From: dntzhang Date: Sun, 31 Mar 2019 20:24:21 +0800 Subject: [PATCH] update readme --- packages/mp-jsx/README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/mp-jsx/README.md b/packages/mp-jsx/README.md index 14e544057..94e4999ca 100644 --- a/packages/mp-jsx/README.md +++ b/packages/mp-jsx/README.md @@ -45,15 +45,15 @@ $ omi init-jsx-ts my-app ```jsx - - {tks.map(tk => { - return tk.type === 'tag' ? {tk.content.map(stk => { - return stk.deep ? stk.content.map(sstk => { - return {sstk.content || sstk} - }) : {stk.content || stk} - })} : {tk.content || tk} - })} - + + {tks.map(tk => { + return tk.type === 'tag' ? {tk.content.map(stk => { + return stk.deep ? stk.content.map(sstk => { + return {sstk.content || sstk} + }) : {stk.content || stk} + })} : {tk.content || tk} + })} + ```