🐛 删除文章无效标签问题修复
This commit is contained in:
parent
b3c82d2bdd
commit
678c244545
@ -59,7 +59,7 @@ public class TagServiceImpl extends AbstractService<Tag> implements TagService {
|
||||
addTagArticle = true;
|
||||
addUserTag = true;
|
||||
} else {
|
||||
for(int m=0,n=articleTagDTOList.size();m<n; m++) {
|
||||
for(int m=0,n=articleTagDTOList.size()-1;m<n; m++) {
|
||||
ArticleTagDTO articleTag = articleTagDTOList.get(m);
|
||||
if (articleTag.getIdTag().equals(tag.getIdTag())) {
|
||||
articleTagDTOList.remove(articleTag);
|
||||
|
Loading…
Reference in New Issue
Block a user