根据api以及网上找的帖子想写一个最简单的红方块的组件,总是出不来或者报错
api中讲解component的部分,点击“在开发者工具中查看”下来的是乱码,并且跟我自己写的例子报一样的错
VM548:1 jsEnginScriptError
Maximum call stack size exceeded
RangeError: Maximum call stack size exceeded
at Function.p._advancedCreate (http://127.0.0.1:61403/appservice/__dev__/WAService.js:1:1)
at u.createComponent (http://127.0.0.1:61403/appservice/__dev__/WAService.js:14:21356)
at e.value (http://127.0.0.1:61403/appservice/__dev__/WAService.js:15:24078)
at http://127.0.0.1:61403/appservice/__dev__/WAService.js:15:24891
at Array.forEach (<anonymous>)