会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
永颜
我就看看不说话
博客园
新随笔
联系
管理
订阅
2019年2月21日
Vue & React组件间的传递
摘要: Vue: ref 传值 父组件<test1 ref="AAA"></test1>子组件<img ref="BBB" /> methods:{ afun(){ ... } } if (this.$refs.AAA) { this.$refs.AAA.$refs.BBB.src = "xxx"; thi
阅读全文
posted @ 2019-02-21 15:41 永颜
阅读(369)
评论(0)
推荐(0)