提交 685a97d9 编写于 作者: fxy060608's avatar fxy060608

fix(mp): uni://form-field props type #481

上级 571d1e68
...@@ -157,8 +157,14 @@ export function initBehaviors (vueOptions, initBehavior) { ...@@ -157,8 +157,14 @@ export function initBehaviors (vueOptions, initBehavior) {
vueProps.push('name') vueProps.push('name')
vueProps.push('value') vueProps.push('value')
} else { } else {
vueProps['name'] = String vueProps['name'] = {
vueProps['value'] = null type: String,
default: ''
}
vueProps['value'] = {
type: [String, Number, Boolean, Array, Object, Date],
default: ''
}
} }
} }
}) })
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册