From 82dd1291a746c2140f83fa3abd4e5027bfb776cb Mon Sep 17 00:00:00 2001 From: ap010gi2e Date: Sun, 25 Sep 2016 17:21:12 +0800 Subject: [PATCH] fix event example fix event example --- framework/view/wxml/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/view/wxml/index.html b/framework/view/wxml/index.html index e21c0a0..91f9a71 100644 --- a/framework/view/wxml/index.html +++ b/framework/view/wxml/index.html @@ -491,7 +491,7 @@

事件

function(e) {
     this.setData({
-      data: this.data.count + 1
+      count: this.data.count + 1
     })
   }
 })
@@ -580,4 +580,4 @@

没有找到相关内容 "