会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
where there is a will, there is a way!
博客园
首页
新随笔
联系
管理
订阅
2018年12月24日
报错:[Vue warn]: Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop bei
摘要: 项目中遇到父组件传值 activeIndex 子组件接收该值 参考网址https://juejin.im/entry/5843abb1a22b9d007a97854c 由于父组件updated()方法中更改了this.activeIndex值,update方法除了父组件触发这个方法,子组件也会触发,
阅读全文
posted @ 2018-12-24 15:04 front-gl
阅读(3926)
评论(0)
推荐(1)
公告