会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
混口饭吃罢了
博客园
首页
新随笔
联系
订阅
管理
2021年5月18日
uniapp中利用uni.$emit()和uni.$on()进行页面和tabbar页面传值(页面通讯)
摘要: tabbar页面 <script> export default { data() { return { list: [] , }; }, onLoad() { // 监听事件 uni.$on('setData', res => { this.list = res; console.log(this
阅读全文
posted @ 2021-05-18 14:28 公侯好仇
阅读(3647)
评论(0)
推荐(1)
公告