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

 

posted @ 2018-11-24 12:08  虚怀若渊谷  阅读(3650)  评论(0)    收藏  举报