问题
报错
props: {
showcontent: {
type: Array,
default: []
},
}
报错信息
问题解决
props: {
showcontent: {
type: Array,
default: function () { return [] }
},
}
ES6
props: {
showcontent: {
type: Array,
default: () => []
},
}
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。