摘要: Type of the default value for 'data' prop must be a function的解决方法 问题现象 在写形如prop: {type: Array; default: []}的代码时,eslint常会出现这样的错误提示。 错误原因 prop的默认值data必须 阅读全文
posted @ 2021-11-01 23:27 rainbow70626 阅读(610) 评论(0) 推荐(0) 编辑