微信小程序-数据绑定

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

data: {
"messg":"helloworld "
},
在wxml页面内使用{{}}调用数据

 

posted @ 2018-09-18 23:02  破晓e  阅读(131)  评论(0)    收藏  举报