Skip to content

Commit

Permalink
#876 修复无内容图片动态报错
Browse files Browse the repository at this point in the history
  • Loading branch information
ywmoyue committed Oct 24, 2024
1 parent 6b0e540 commit 281bb61
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ static UserDynamicItemV2DataTemplateSelector()
{
Constants.DynamicTypes.DRAW, (selector, model) =>
{
if (model.Dynamic == null) return selector.OtherTemplate;
if (model.Dynamic.DynDraw.Items.Count == 1)
{
return selector.Draw1x1Template;
Expand Down

0 comments on commit 281bb61

Please sign in to comment.