From a63d964e90328ac51ea6caa93b13e54030ad6043 Mon Sep 17 00:00:00 2001 From: "cinwell.li" Date: Wed, 20 Dec 2017 13:52:11 +0800 Subject: [PATCH 1/2] fix(weex): default value for editor, fix #7165 /cc Hanks10100 --- test/weex/cases/recycle-list/components/editor.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/weex/cases/recycle-list/components/editor.vue b/test/weex/cases/recycle-list/components/editor.vue index 11d3ea1bc55..9ab63e7b3c4 100644 --- a/test/weex/cases/recycle-list/components/editor.vue +++ b/test/weex/cases/recycle-list/components/editor.vue @@ -10,7 +10,7 @@ props: ['message'], data () { return { - output: this.message | '' + output: this.message || '' } } } From b8b15763ac3181ae35e4df47b4f929aa22190714 Mon Sep 17 00:00:00 2001 From: "cinwell.li" Date: Wed, 20 Dec 2017 14:03:49 +0800 Subject: [PATCH 2/2] fix(weex): recycle-list test --- .../weex/cases/recycle-list/components/stateful-v-model.vdom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/weex/cases/recycle-list/components/stateful-v-model.vdom.js b/test/weex/cases/recycle-list/components/stateful-v-model.vdom.js index 88af1438c24..1c5b06f10df 100644 --- a/test/weex/cases/recycle-list/components/stateful-v-model.vdom.js +++ b/test/weex/cases/recycle-list/components/stateful-v-model.vdom.js @@ -41,7 +41,7 @@ }, attr: { type: 'text', - value: 0 + value: 'No binding' } }] }]