diff --git a/src/core/runtime/wrapper/util.js b/src/core/runtime/wrapper/util.js index 6f73dc4b351b3c6fb3a841016e3585c67edb5aef..1b82efcdef5e3aafe768d1972bf3dc28332f830c 100644 --- a/src/core/runtime/wrapper/util.js +++ b/src/core/runtime/wrapper/util.js @@ -157,8 +157,14 @@ export function initBehaviors (vueOptions, initBehavior) { vueProps.push('name') vueProps.push('value') } else { - vueProps['name'] = String - vueProps['value'] = null + vueProps['name'] = { + type: String, + default: '' + } + vueProps['value'] = { + type: [String, Number, Boolean, Array, Object, Date], + default: '' + } } } })