mirror of
https://github.com/veops/cmdb.git
synced 2025-08-07 22:17:37 +08:00
fix ci types show
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
>
|
>
|
||||||
<a-list-item slot="renderItem" slot-scope="item">
|
<a-list-item slot="renderItem" slot-scope="item">
|
||||||
|
|
||||||
<template v-if="item === null">
|
<template v-if="Object.keys(item).length === 0">
|
||||||
<a-button class="new-btn" type="dashed" @click="handleCreate">
|
<a-button class="new-btn" type="dashed" @click="handleCreate">
|
||||||
<a-icon type="plus"/>
|
<a-icon type="plus"/>
|
||||||
新增
|
新增
|
||||||
@@ -193,7 +193,7 @@ export default {
|
|||||||
getCITypes () {
|
getCITypes () {
|
||||||
getCITypes().then(res => {
|
getCITypes().then(res => {
|
||||||
this.CITypes = res.ci_types
|
this.CITypes = res.ci_types
|
||||||
this.CITypes.unshift(null)
|
this.CITypes.unshift({})
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user