引擎报这个错误,不影响功能,就是每次显示这个却不知道原因
我也是3.6.0报这个错
@property({
type: [CCString],
visible: function (this: VMLabel) { return this.templateMode === true }
})
visible那行注释了就好了
有的地方这么用了又没报错,就这地方注不能用,奇怪
引擎报这个错误,不影响功能,就是每次显示这个却不知道原因
我也是3.6.0报这个错
@property({
type: [CCString],
visible: function (this: VMLabel) { return this.templateMode === true }
})
visible那行注释了就好了
有的地方这么用了又没报错,就这地方注不能用,奇怪