lihao 4 vuotta sitten
vanhempi
commit
8287f70dfe

+ 3 - 1
gx_api/GxPress/Service/GxPress.Service.Implement/Collection/CollectionService.cs

@@ -269,7 +269,9 @@ namespace GxPress.Service.Implement.Collection
                 if (string.IsNullOrWhiteSpace(item.Title))
                 {
                     item.Title = "";
-                    if (item.Data.Type == AllTypeConst.Text.GetHashCode())
+                    if (item.Data.Type == AllTypeConst.Article.GetHashCode())
+                        item.Title = item.Data.Title;
+                    else if (item.Data.Type == AllTypeConst.Text.GetHashCode())
                         item.Title = item.Data.Title;
                     else if (item.Data.Type == AllTypeConst.MeetingSummary.GetHashCode())
                         item.Title = item.Data.Title;