比如 有一个 类 A 继承 cc.Component
B类中 怎么定义一个property [ClassA] 一个ClassA的数组
var ClassA = require(“ClassA”)
…
arrayA:{
default:[],
type:[ClassA]
}
这样写在1.4中会报错 1.3中 不会报错
报错信息如下
Please define ‘type’ parameter of SelectRemainsPanel.remainsInfoItem as the constructor of [object Object].