Commit a915f8a5 authored by qingwei.li's avatar qingwei.li Committed by 杨奕

DatePicker: fix set value, fixed #1773

parent 40f9d83f
......@@ -301,7 +301,7 @@ export default {
).parser;
const parsedValue = parser(value, this.format || DEFAULT_FORMATS[type]);
if (parsedValue) {
if (parsedValue && this.picker) {
this.picker.value = parsedValue;
}
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment