[]View.regComponent("ScaleButton",component.ScaleButton);//注册组件

我跟帖子做自定义组件 https://ldc.layabox.com/doc/?nav=zh-ts-2-2-3  不知道在哪里注册组件,现在运行起来是报“can not create:ScaleButton” 大概是因为我没有注册的缘故,但不知道在哪里注册!
已邀请:

要回复问题请先

商务合作
商务合作