[Vue warn]: Invalid prop: type check failed for prop “zhuan”. Expected Array, got String with value “”.
翻译一下就是-------Vue警告:道具无效:道具“专”类型检查失败。期望的数组,得到的字符串和值
原来的代码:
用的组件,遍历的是zhuan
报错的图
更改后,把Array改成{ } 就不报错了
[Vue warn]: Invalid prop: type check failed for prop “zhuan”. Expected Array, got String with value “”.
翻译一下就是-------Vue警告:道具无效:道具“专”类型检查失败。期望的数组,得到的字符串和值
原来的代码:
用的组件,遍历的是zhuan
报错的图
更改后,把Array改成{ } 就不报错了