properties: {
label_hea:{
default:null,
type:cc.Label,
},
}
start:function(){
this.label_hea.string = "OK"
脚本如上,在属性检查器中也做了关联![]()
甚至在运行时正确显示了 要string输出的内容
控制台却报错了Uncaught TypeError: Cannot set property ‘string’ of null
at main.start (assets\Script\main.js:139)

请问大神,这是为什么???百思不得其解