diff --git a/src/views/system/logger/loginLog/columns.ts b/src/views/system/logger/loginLog/columns.ts index ff61f43..232243e 100644 --- a/src/views/system/logger/loginLog/columns.ts +++ b/src/views/system/logger/loginLog/columns.ts @@ -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), ]) } }, diff --git a/src/views/system/logger/operLog/columns.ts b/src/views/system/logger/operLog/columns.ts index dbbad0c..8262cc4 100644 --- a/src/views/system/logger/operLog/columns.ts +++ b/src/views/system/logger/operLog/columns.ts @@ -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), ]) } },