Skip to content
This repository has been archived by the owner on Oct 5, 2023. It is now read-only.

Commit

Permalink
0.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangyitao committed Jul 20, 2020
1 parent 2a85a7b commit cbe6481
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/pages/agent/list.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
{{ `${row.ip}:${row.port}` }}
</template>
</el-table-column>
<el-table-column label="日志" align="center" width="100" show-overflow-tooltip>
<template scope="{ row }">
<a :href="getLogFileUrl(row.instanceId)" target="_blank">查看</a>
</template>
</el-table-column>
<el-table-column label="Mobile/浏览器" align="center">
<template scope="{ row }">
<el-table :data="row.mobiles" border>
Expand Down Expand Up @@ -66,6 +71,9 @@ export default {
}).finally(() => {
this.loading = false
})
},
getLogFileUrl(agentInstanceId) {
return `${process.env.VUE_APP_BASE_API}/springboot-admin#/instances/${agentInstanceId}/logfile`
}
},
created() {
Expand Down

0 comments on commit cbe6481

Please sign in to comment.