fix ci types show

This commit is contained in:
pycook 2019-10-24 11:06:53 +08:00
parent 7b96ac4638
commit 99d11e11ce
1 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
>
<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-icon type="plus"/>
新增
@ -193,7 +193,7 @@ export default {
getCITypes () {
getCITypes().then(res => {
this.CITypes = res.ci_types
this.CITypes.unshift(null)
this.CITypes.unshift({})
})
},