diff --git a/docs/main-concepts.cn.md b/docs/main-concepts.cn.md index f9ed4df84..e118d09f6 100644 --- a/docs/main-concepts.cn.md +++ b/docs/main-concepts.cn.md @@ -314,13 +314,13 @@ render(, 'body') ```js tag('my-ele', function (props) { - return ( - - ) + return ( + + ) }) ``` @@ -328,7 +328,7 @@ tag('my-ele', function (props) { ```js ``` diff --git a/docs/main-concepts.md b/docs/main-concepts.md index fbb935d01..70fc7fdc7 100644 --- a/docs/main-concepts.md +++ b/docs/main-concepts.md @@ -325,13 +325,13 @@ render(, 'body') ```js tag('my-ele', function (props) { - return ( - - ) + return ( + + ) }) ``` @@ -339,7 +339,7 @@ Use it: ```js ```