ts 基本类型数组属性, 如何声明。

@property
resLoad:string[] = null

@property
public resLoad:string[] = []

@property([])
public resLoad:string[] = []

列出几种 声明方式, 总之各种尝试都不行。

@property([cc.String])
xx: string[] = [];

2赞