Skip to content

Commit

Permalink
编辑标签添加圈子
Browse files Browse the repository at this point in the history
  • Loading branch information
dsaco committed Nov 13, 2017
1 parent 2831c9f commit 225f53b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/scripts/components/EditTag/EditTag.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export default class EditTag extends Component{
children,
}
Object.keys(data).forEach(key => {
if(!data[key]){
if(!data[key] && key !== 'type'){
delete data[key]
}
})
Expand Down Expand Up @@ -224,6 +224,7 @@ export default class EditTag extends Component{
<option value="series">玩具系列</option>
<option value="person">真人</option>
<option value="origin">原著</option>
<option value="circle">圈子</option>
<option value="topic">话题</option>
<option value="merchant">商家</option>
<option value="media">媒体</option>
Expand Down

0 comments on commit 225f53b

Please sign in to comment.