Type of the default value for 'searches' prop must be a function 如何解决vue中报出的这种错误

https://google.com/#q=vue%2Frequire-valid-default-prop  Type of the default value for 'searches' prop must be a function     src/base/search-list/search-list.vue:20:11

 这是在github中看到解决方案,具体的解释可以打开链接

https://github.com/vuejs/vue/issues/1032

猜你喜欢

转载自www.cnblogs.com/yangmeili/p/10011598.html
今日推荐