caso especial listo
This commit is contained in:
@@ -201,8 +201,14 @@ export default {
|
||||
return style
|
||||
},
|
||||
fecha(date) {
|
||||
const fecha = moment(date.substr(0, 10))
|
||||
return `${fecha.date()}/${fecha.month() + 1}/${fecha.year()}`
|
||||
if (date) {
|
||||
const fecha = moment(date)
|
||||
|
||||
return `${fecha.date()}/${
|
||||
fecha.month() < 9 ? '0' + (fecha.month() + 1) : fecha.month() + 1
|
||||
}/${fecha.year()}`
|
||||
}
|
||||
return ''
|
||||
},
|
||||
onPageChange(page) {
|
||||
this.page = page
|
||||
|
||||
Reference in New Issue
Block a user