mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 07:42:38 +08:00
Fix component enable property decorator (#4632)
This commit is contained in:
committed by
Weiliang Wang
parent
2a594855ae
commit
7e3d099993
@@ -122,9 +122,7 @@ class Component extends CCObject {
|
||||
* cc.log(comp.enabled);
|
||||
* ```
|
||||
*/
|
||||
@property({
|
||||
visible: false,
|
||||
})
|
||||
@property
|
||||
get enabled () {
|
||||
return this._enabled;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user