Fix bug: display uptime

Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
This commit is contained in:
Jianhui Zhao
2018-05-16 18:19:58 +08:00
parent 3c1742d8ec
commit cb31061435
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -69,7 +69,9 @@ export default {
title: 'Uptime',
key: 'uptime',
sortable: true,
render: (h, params) => '%t'.format(params.row.uptime)
render: (h, params) => {
return h('div', '%t'.format(params.row.uptime));
}
}, {
title: 'Description',
key: 'description'