日志管理修改
This commit is contained in:
parent
0eb2648d8a
commit
2107ea8a71
@ -19,7 +19,15 @@ export const columns = [
|
||||
h('div',{
|
||||
style: { marginBottom:'5px'}
|
||||
}, record.ip),
|
||||
h('div', record.location),
|
||||
h(
|
||||
Tag,
|
||||
{
|
||||
color: 'processing',
|
||||
},
|
||||
{
|
||||
default: () => record.location,
|
||||
},
|
||||
),
|
||||
])
|
||||
}
|
||||
},
|
||||
@ -30,13 +38,20 @@ export const columns = [
|
||||
return h('div', [
|
||||
h(Tag,
|
||||
{
|
||||
type: 'info',
|
||||
color: 'default',
|
||||
style: {marginBottom:'5px'}
|
||||
},
|
||||
{
|
||||
default: () => (record.requestMethod),
|
||||
}),
|
||||
h('div', '接口:'+record.url),
|
||||
h(
|
||||
'div',
|
||||
{
|
||||
style: { marginBottom: '5px' },
|
||||
},
|
||||
'接口:' + record.url,
|
||||
),
|
||||
h('div', '名称:' + record.title),
|
||||
|
||||
])
|
||||
}
|
||||
@ -55,7 +70,14 @@ export const columns = [
|
||||
{
|
||||
default: () => (record.status == 0 ? '正常' : '异常'),
|
||||
}),
|
||||
h('div', '请求耗时:'+record.consumeTime+'ms'),
|
||||
h(
|
||||
'div',
|
||||
{
|
||||
style: { marginBottom: '5px' },
|
||||
},
|
||||
'请求耗时:' + record.consumeTime + 'ms',
|
||||
),
|
||||
h('div', '响应时间:' + record.updateTime),
|
||||
])
|
||||
}
|
||||
},
|
||||
|
@ -19,7 +19,15 @@ export const columns = [
|
||||
h('div',{
|
||||
style: { marginBottom:'5px'}
|
||||
}, record.ip),
|
||||
h('div', record.location),
|
||||
h(
|
||||
Tag,
|
||||
{
|
||||
color: 'processing',
|
||||
},
|
||||
{
|
||||
default: () => record.location,
|
||||
},
|
||||
),
|
||||
])
|
||||
}
|
||||
},
|
||||
@ -30,7 +38,7 @@ export const columns = [
|
||||
return h('div', [
|
||||
h(Tag,
|
||||
{
|
||||
type: 'info',
|
||||
color: 'default',
|
||||
style: {marginBottom:'5px'}
|
||||
},
|
||||
{
|
||||
@ -55,7 +63,14 @@ export const columns = [
|
||||
{
|
||||
default: () => (record.status == 0 ? '正常' : '异常'),
|
||||
}),
|
||||
h('div', '请求耗时:'+record.consumeTime+'ms'),
|
||||
h(
|
||||
'div',
|
||||
{
|
||||
style: { marginBottom: '5px' },
|
||||
},
|
||||
'请求耗时:' + record.consumeTime + 'ms',
|
||||
),
|
||||
h('div', '响应时间:' + record.updateTime),
|
||||
])
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user