Fix component enable property decorator (#4632)

This commit is contained in:
jiaxin.lai
2019-06-17 10:03:29 +08:00
committed by Weiliang Wang
parent 2a594855ae
commit 7e3d099993
+1 -3
View File
@@ -122,9 +122,7 @@ class Component extends CCObject {
* cc.log(comp.enabled);
* ```
*/
@property({
visible: false,
})
@property
get enabled () {
return this._enabled;
}