1
0
mirror of https://github.com/jumpserver/lina.git synced 2025-05-12 01:58:51 +00:00

perf: report

This commit is contained in:
feng 2025-03-20 11:21:40 +08:00 committed by feng626
parent e2f87e62f2
commit 44c39de459

View File

@ -42,7 +42,7 @@ export default {
},
customActions: {
type: Object,
default: () => ({})
default: null
}
},
data() {
@ -123,8 +123,8 @@ export default {
can: this.$hasPerm('accounts.view_' + this.resource),
callback: function({ row }) {
vm.visible = true
this.url = this.url.split('?')[0]
vm.reportUrl = `${this.url}${row.id}/report/`
const url = this.url.split('?')[0]
vm.reportUrl = `${url}${row.id}/report/`
}
}
]