mirror of
https://github.com/jumpserver/lina.git
synced 2025-07-17 00:32:01 +00:00
fix: 点击操作日志详情空白的问题
This commit is contained in:
parent
c2dfb09ec8
commit
d42caccff8
@ -52,7 +52,7 @@ export default {
|
|||||||
callbacks: {
|
callbacks: {
|
||||||
click: function() {
|
click: function() {
|
||||||
this.$axios.get(
|
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 => {
|
).then(res => {
|
||||||
this.$refs.DetailDialog.show(res.diff)
|
this.$refs.DetailDialog.show(res.diff)
|
||||||
})
|
})
|
||||||
|
@ -72,7 +72,7 @@ export default {
|
|||||||
callback: ({ row }) => {
|
callback: ({ row }) => {
|
||||||
vm.loading = true
|
vm.loading = true
|
||||||
this.$axios.get(
|
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 => {
|
).then(res => {
|
||||||
this.$refs.DetailDialog.show(res.diff)
|
this.$refs.DetailDialog.show(res.diff)
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user