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