小程序(mpvue框架)的总结
摘要:父组件给子组件传参数的时候,最好在组件上加相应判断,不然,传的参数为空。。。 有参(原因,接口初始获取异步,还是内容为空,获取不对,就已经传过去了,所以为undefined) <comment v-if="article.title" :articleId="articleId" :collect=
阅读全文
posted @ 2019-01-29 20:35
posted @ 2019-01-29 20:35
posted @ 2019-01-13 22:08