TimeSelect: fix fieldReset when initialValue is empty string (#12010)

pull/12014/head
Jikkai Xiao 2018-07-16 19:18:29 +08:00 committed by GitHub
parent ef4caa96cb
commit e4de2b46bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -713,7 +713,7 @@ export default {
},
handleFieldReset(initialValue) {
this.userInput = initialValue;
this.userInput = initialValue === '' ? null : initialValue;
},
handleFocus() {