摘要: 给vue组件传递对象或是数组,参考下面语法: props: { prop_object: { type: Object, default: () => ({}) }, prop_array: { type: Array, default: () => [] } } Source Code 阅读全文
posted @ 2021-02-22 19:09 Insus.NET 阅读(3477) 评论(0) 推荐(0) 编辑