自定义组件报错Cannot set property Symbol,请问如何指定数组类型的组件属性?
各位大神,请教个问题,我自定义组件,指定数组的属性,就会报错,删除这段就是正常的,请问我应该怎么指定数组类型的属性呢?
报错如下:
jsEnginScriptError
Cannot set property Symbol(Symbol.species) of function Array() { [native code] } which has only a getter;onAppRoute
TypeError: Cannot set property Symbol(Symbol.species) of function Array() { [native code] } which has only a getter