mirror of https://github.com/ElemeFE/element
TimeSelect: fix fieldReset when initialValue is empty string (#12010)
parent
ef4caa96cb
commit
e4de2b46bf
|
@ -713,7 +713,7 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
handleFieldReset(initialValue) {
|
handleFieldReset(initialValue) {
|
||||||
this.userInput = initialValue;
|
this.userInput = initialValue === '' ? null : initialValue;
|
||||||
},
|
},
|
||||||
|
|
||||||
handleFocus() {
|
handleFocus() {
|
||||||
|
|
Loading…
Reference in New Issue