mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-29 03:41:35 +00:00
fix: adhoc and playbook detail page display many '-'
This commit is contained in:
parent
6b6a60b84f
commit
a1f20c6f92
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<el-row :gutter="20">
|
<el-row :gutter="20">
|
||||||
<el-col :md="16" :sm="24">
|
<el-col :md="16" :sm="24">
|
||||||
<AutoDetailCard :fields="detailFields" :object="object" :url="url" />
|
<AutoDetailCard :excludes="excludes" :object="object" :url="url" />
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</template>
|
</template>
|
||||||
@ -21,7 +21,8 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
url: `/api/v1/ops/adhocs/${this.object.id}/`
|
url: `/api/v1/ops/adhocs/${this.object.id}/`,
|
||||||
|
excludes: ['variable']
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
@ -23,7 +23,7 @@ export default {
|
|||||||
return {
|
return {
|
||||||
url: `/api/v1/ops/playbooks/${this.object.id}/`,
|
url: `/api/v1/ops/playbooks/${this.object.id}/`,
|
||||||
excludes: [
|
excludes: [
|
||||||
'path', 'create_method', 'vcs_url'
|
'variable', 'path', 'create_method', 'vcs_url'
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user