Merge pull request #2681 from jumpserver/pr@dev@fix_operatelog_no_detail_err

fix: 点击操作日志详情空白的问题
This commit is contained in:
老广
2023-02-17 14:39:14 +08:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -52,7 +52,7 @@ export default {
callbacks: {
click: function() {
this.$axios.get(
`api/v1/audits/operate-logs/${this.object.id}/?type=action_detail`
`/api/v1/audits/operate-logs/${this.object.id}/?type=action_detail`
).then(res => {
this.$refs.DetailDialog.show(res.diff)
})

View File

@@ -72,7 +72,7 @@ export default {
callback: ({ row }) => {
vm.loading = true
this.$axios.get(
`api/v1/audits/operate-logs/${row.id}/?type=action_detail`
`/api/v1/audits/operate-logs/${row.id}/?type=action_detail`
).then(res => {
this.$refs.DetailDialog.show(res.diff)
}).finally(() => {