diff --git a/README.md b/README.md index 165cc54f..e5d17eef 100644 --- a/README.md +++ b/README.md @@ -94,7 +94,7 @@ cd zanui-weapp var quantity = e.quantity; this.setData({ - [`quantity.quantity`]: quantity + 'quantity.quantity': quantity }); } }));