fix: message obj

This commit is contained in:
zzc
2026-04-22 19:13:28 +08:00
parent f86e4b5b9a
commit 6b8e8ab5d8
2 changed files with 23 additions and 3 deletions

View File

@@ -24,7 +24,7 @@
</el-table-column>
<el-table-column align="center" label="类型" show-overflow-tooltip>
<template #default="{ row }">
<el-tag v-if="row.url.includes('api/v')" type="success">应用</el-tag>
<el-tag v-if="row.platform.includes('weixin')" type="success">微信小程序</el-tag>
<el-tag v-else type="info">后台</el-tag>
</template>
</el-table-column>
@@ -39,8 +39,13 @@
{{ row.userName || row.userId }}
</template>
</el-table-column>
<el-table-column align="center" label="method" prop="method" show-overflow-tooltip width="80" />
<el-table-column align="center" label="statusCode" prop="statusCode" show-overflow-tooltip width="100" />
<el-table-column align="center" label="耗时(ms)" prop="duration" show-overflow-tooltip width="100" />
<el-table-column align="center" label="平台" prop="platform" show-overflow-tooltip width="100" />
<el-table-column align="center" label="userAgent" prop="userAgent" show-overflow-tooltip />
<el-table-column align="center" label="referrer" prop="referrer" show-overflow-tooltip />
<el-table-column align="center" label="body" prop="body" show-overflow-tooltip />
</el-table>
<el-pagination
background
@@ -69,6 +74,7 @@
selectRows: '',
elementLoadingText: '正在加载...',
queryForm: {
appId: '69665538a49b8ae3be50fe5d',
pageNo: 1,
pageSize: 10,
permission: '',