Explorar el Código

fix(weex): default value for editor, fix #7165 (#7286)

* fix(weex): default value for editor, fix #7165

/cc Hanks10100

* fix(weex): recycle-list test
cinwell.li hace 8 años
padre
commit
e055df82fe

+ 1 - 1
test/weex/cases/recycle-list/components/editor.vue

@@ -10,7 +10,7 @@
     props: ['message'],
     data () {
       return {
-        output: this.message | ''
+        output: this.message || ''
       }
     }
   }

+ 1 - 1
test/weex/cases/recycle-list/components/stateful-v-model.vdom.js

@@ -41,7 +41,7 @@
         },
         attr: {
           type: 'text',
-          value: 0
+          value: 'No binding'
         }
       }]
     }]