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