fix cannot add tag when remove tag at same time

This commit is contained in:
MaysWind
2020-12-26 23:46:17 +08:00
parent 3f72c45fb7
commit b653f7b3d5
-2
View File
@@ -552,8 +552,6 @@ func (s *TransactionService) ModifyTransaction(transaction *models.Transaction,
} else if deletedRows < 1 {
return errs.ErrTransactionTagNotFound
}
return err
}
if len(transactionTagIndexs) > 0 {