摘要: vue+uniapp日常填坑:Failed to resolve async component 翻译:无法解析异步组件。 场景:父组件给子组件传值,在编译的时候报了错。问题主要出在这个async身上。既如此,把async去掉即可。 解决方案:把异步改成同步。 报错猜测:有可能是webpack的配置 阅读全文
posted @ 2022-09-23 16:30 叶乘风 阅读(3069) 评论(0) 推荐(0) 编辑
摘要: 父组件给子组件传值,提示子组件不能直接修改父组件传递过来的值,完整报错: Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Inst 阅读全文
posted @ 2022-09-23 10:25 叶乘风 阅读(78) 评论(0) 推荐(0) 编辑