fix: 点击操作日志详情空白的问题

This commit is contained in:
jiangweidong 2023-02-17 14:37:59 +08:00
parent c2dfb09ec8
commit d42caccff8
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(() => {