From 82ce6845d12a8bace83d974d7138940b005f48bf Mon Sep 17 00:00:00 2001 From: dntzhang Date: Wed, 31 Jul 2019 15:14:56 +0800 Subject: [PATCH] omi - update vue demo --- packages/omi/examples/vue/app.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/omi/examples/vue/app.vue b/packages/omi/examples/vue/app.vue index df40c0236..85452d9a8 100644 --- a/packages/omi/examples/vue/app.vue +++ b/packages/omi/examples/vue/app.vue @@ -27,11 +27,14 @@ export default { myEvent: function(evt) { //output abc console.log(evt.detail) + + Omi.$.user.age = 2 + this.$refs.myEle.update() } } } \ No newline at end of file