fix TimePicker with Select Hour & Minute bug
This commit is contained in:
parent
97a37a832c
commit
92e656fc2a
1 changed files with 2 additions and 1 deletions
|
@ -101,7 +101,8 @@
|
||||||
];
|
];
|
||||||
},
|
},
|
||||||
showSeconds () {
|
showSeconds () {
|
||||||
return !(this.format || '').match(/mm$/);
|
//fix Hour & Minute Picker bug,show seconds when has "ss"
|
||||||
|
return !!(this.format || '').match(/ss/);
|
||||||
},
|
},
|
||||||
leftDatePanelLabel () {
|
leftDatePanelLabel () {
|
||||||
return this.panelLabelConfig(this.date);
|
return this.panelLabelConfig(this.date);
|
||||||
|
|
Loading…
Add table
Reference in a new issue