提交 ae7ade90 authored 作者: 王鹏飞's avatar 王鹏飞

bug fixes

上级 b32ca81d
{
"name": "@ezijing/vue-form",
"version": "2.0.12",
"version": "2.0.13",
"private": false,
"description": "基于Vue Element-UI的表单",
"scripts": {
......
......@@ -26,7 +26,7 @@ export default {
},
methods: {
onBlur() {
this.data[this.options.model] = this.currentValue.trim()
this.data[this.options.model] = this.currentValue ? this.currentValue.trim() : this.currentValue
}
}
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论