fix: format date intially
parent
18367429f6
commit
fc703f41db
|
@ -1251,7 +1251,7 @@ export default {
|
||||||
},
|
},
|
||||||
formatValue(value) {
|
formatValue(value) {
|
||||||
if (typeof value === 'string') {
|
if (typeof value === 'string') {
|
||||||
return value;
|
return this.dateFormat ? this.formatDate(new Date(value), this.dateFormat) : value;
|
||||||
}
|
}
|
||||||
|
|
||||||
let formattedValue = '';
|
let formattedValue = '';
|
||||||
|
|
Loading…
Reference in New Issue