fix(code-gen): fix example-solution.ts format problem (#2207)

Co-authored-by: 林熠 <jack.lianjie@gmail.com>
This commit is contained in:
BARM 2023-07-06 11:18:31 +08:00 committed by GitHub
parent cb2e05046f
commit 323e85f595
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -289,8 +289,8 @@ codealike.json
},
"lifeCycles": {
"componentDidMount": {
"type": "JSExpression",
"value": "function() { console.log('componentDidMount'); }"
"type": "JSFunction",
"value": "function componentDidMount() {\\n console.log('componentDidMount');\\n}"
}
},
"methodsModule": {