소스 검색

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 8 년 전
부모
커밋
e055df82fe
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      test/weex/cases/recycle-list/components/editor.vue
  2. 1 1
      test/weex/cases/recycle-list/components/stateful-v-model.vdom.js

+ 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'
         }
       }]
     }]