fix showSeconds flag logic
This commit is contained in:
parent
46726afdf4
commit
22ff9a62f2
2 changed files with 2 additions and 2 deletions
|
@ -102,7 +102,7 @@
|
|||
];
|
||||
},
|
||||
showSeconds () {
|
||||
return (this.format || '').indexOf('ss') !== -1;
|
||||
return !(this.format || '').match(/mm$/);
|
||||
},
|
||||
leftDatePanelLabel () {
|
||||
return this.panelLabelConfig(this.date);
|
||||
|
|
|
@ -69,7 +69,7 @@
|
|||
},
|
||||
computed: {
|
||||
showSeconds () {
|
||||
return (this.format || '').indexOf('ss') !== -1;
|
||||
return !(this.format || '').match(/mm$/);
|
||||
},
|
||||
visibleDate () { // TODO
|
||||
const date = this.date;
|
||||
|
|
Loading…
Add table
Reference in a new issue