- 博客(1)
- 收藏
- 关注
原创 解决vue props传Array/Object类型值,子组件报错的情况
项目场景: Props with type Object/Array must use a factory function to return the default value. 问题描述 解决vue props传Array/Object类型值,子组件报错的情况 props:{ projectTypes: { type: Array, default: [] } } 或者 props:{ projectTypes: { type: Object, de
2022-03-19 10:21:10 1655
空空如也
Antd Table vue3
2023-02-21
TA创建的收藏夹 TA关注的收藏夹
TA关注的人