微信小程序-数据绑定

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

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

 

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