refactor: 优化系统日志信息记录

1.简化记录 request_url
2.优化记录操作人信息
This commit is contained in:
2023-12-22 21:58:07 +08:00
parent ac4283679a
commit fd0e05f95a
4 changed files with 15 additions and 12 deletions

View File

@@ -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>