首页 > 编程知识 正文

小程序atob,小程序有哪些参数传值的方法

时间:2023-05-05 14:50:41 阅读:143499 作者:390

需求,把A子组件的值传给父组件,在通过父组件传给子组件接收

A子组件

js :数据

/** *组件属性列表*/properties : { hidebaitiao : } type : boolean,//缺省隐藏value: true }, baitiao: { //分割内容数据type 3360 data : { select index :0 },makeBaitiao () /立即打白条(/点击的具体下标letselection

父组件

! -白色条弹条--iou bind : updata select=' selectitem '/iou js 3360赋值

selectitem(e )//单击可立即显示白色条,并显示从子部件传递的值console.log ) e.detail.desc )//e传递的信息let upda selectitem=e this.setdata (baitiaoselectitem : e.detail )、

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。