mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-10-26 20:57:11 +08:00
refactor: 优化系统日志信息记录
1.简化记录 request_url 2.优化记录操作人信息
This commit is contained in:
@@ -68,9 +68,7 @@
|
||||
<a-table-column title="请求 URI">
|
||||
<template #cell="{ record }">
|
||||
<span :title="decodeURIComponent(record.requestUrl)">{{
|
||||
record.requestUrl.match(
|
||||
/(\w+):\/\/([^/:]+)(:\d*)?([^#|\?|\n]*)(\?.*)?/,
|
||||
)[4]
|
||||
record.requestUrl.match(/([^#|\?|\n]*)(\?.*)?/)[1]
|
||||
}}</span>
|
||||
</template>
|
||||
</a-table-column>
|
||||
|
||||
Reference in New Issue
Block a user