updated README

This commit is contained in:
Marvin Zhang
2019-03-13 19:27:14 +08:00
parent e22f5dc5a5
commit ff631e1095
6 changed files with 10 additions and 92 deletions

View File

@@ -18,7 +18,6 @@ const actions = {
request.get('/deploys')
.then(response => {
commit('SET_DEPLOY_LIST', response.data.items.map(d => {
if (d.finish_ts) d.finish_ts = dayjs(d.finish_ts.$date).format('YYYY-MM-DD HH:mm:ss')
return d
}).sort((a, b) => a.finish_ts < b.finish_ts ? 1 : -1))
})