Fix error in formater for multiple values
This commit is contained in:
parent
c3beef276c
commit
2332ac9bff
1 changed files with 1 additions and 0 deletions
|
@ -198,6 +198,7 @@
|
|||
publicStringValue(){
|
||||
const {formatDate, publicVModelValue, type} = this;
|
||||
if (type.match(/^time/)) return publicVModelValue;
|
||||
if (this.multiple) return formatDate(publicVModelValue);
|
||||
return Array.isArray(publicVModelValue) ? publicVModelValue.map(formatDate) : formatDate(publicVModelValue);
|
||||
},
|
||||
opened () {
|
||||
|
|
Loading…
Add table
Reference in a new issue