微信小程序-数据绑定

在js页面的data字典内添加绑定数据

data: {
"messg":"helloworld "
},
在wxml页面内使用{{}}调用数据
原文地址:https://www.cnblogs.com/pxfb/p/9672000.html