在js页面的data字典内添加绑定数据 data: { "messg":"helloworld " }, 在wxml页面内使用{{}}调用数据
微信小程序-数据绑定
猜你喜欢
转载自www.cnblogs.com/pxfb/p/9672000.html
今日推荐
周排行