mirror of https://github.com/halo-dev/halo
标签判断完没有加break,导致标签会继续走分类的逻辑
parent
2a60e1cd20
commit
41806bef98
|
@ -330,6 +330,7 @@ public class PostServiceImpl extends BasePostServiceImpl<Post> implements PostSe
|
|||
tag = tagService.create(tag);
|
||||
}
|
||||
tagIds.add(tag.getId());
|
||||
break;
|
||||
case "categories":
|
||||
Category category = categoryService.getByName(ele);
|
||||
if (null == category) {
|
||||
|
|
Loading…
Reference in New Issue