Skip to content

Commit

Permalink
fix(opsTask): 去掉任务详情中多余的ID字段
Browse files Browse the repository at this point in the history
  • Loading branch information
jym503558564 authored and ibuler committed Aug 11, 2020
1 parent 6112c62 commit ae6d767
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
4 changes: 0 additions & 4 deletions src/views/ops/TaskDetail/AdhocDetail/AdhocDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,6 @@ export default {
},
detailCardItems() {
return [
{
key: this.$t('ops.ID'),
value: this.object.id
},
{
key: this.$t('ops.hosts'),
value: JSON.stringify(this.object.hosts.length)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,6 @@ export default {
},
detailCardItems() {
return [
{
key: this.$t('ops.ID'),
value: this.object.id
},
{
key: this.$t('ops.taskName'),
value: this.object.task_display.replace('@', '')
Expand Down
4 changes: 0 additions & 4 deletions src/views/ops/TaskDetail/TaskDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@ export default {
},
detailCardItems() {
return [
{
key: this.$t('ops.ID'),
value: this.object.id
},
{
key: this.$t('common.Name'),
value: this.object.name
Expand Down

0 comments on commit ae6d767

Please sign in to comment.