diff --git a/src/components/Dialog/DiffDetail.vue b/src/components/Dialog/DiffDetail.vue index 6a040b4f0..2debb89e1 100644 --- a/src/components/Dialog/DiffDetail.vue +++ b/src/components/Dialog/DiffDetail.vue @@ -13,8 +13,7 @@
- diff --git a/src/components/ResourceActivity/index.vue b/src/components/ResourceActivity/index.vue index 5608cf0c3..67b490c8f 100644 --- a/src/components/ResourceActivity/index.vue +++ b/src/components/ResourceActivity/index.vue @@ -13,7 +13,11 @@ placement="bottom" > {{ activity.content }} - + {{ $tc('common.Detail') }} @@ -66,7 +70,9 @@ export default { } }) }, - onClick(type, taskUrl) { + onClick(activity) { + const type = activity['r_type'] + const taskUrl = activity['detail_url'] if (type === 'O') { this.$axios.get(taskUrl).then( res => {