mirror of
https://github.com/jumpserver/lina.git
synced 2025-07-15 16:02:37 +00:00
fix: 点击操作日志详情空白的问题
This commit is contained in:
parent
c2dfb09ec8
commit
d42caccff8
@ -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)
|
||||
})
|
||||
|
@ -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(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user