田爽 6 月之前
父節點
當前提交
8005c71e3b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Hotline.Share/Dtos/Order/OrderScreenDto.cs

+ 1 - 1
src/Hotline.Share/Dtos/Order/OrderScreenDto.cs

@@ -110,7 +110,7 @@ namespace Hotline.Share.Dtos.Order
 		/// </summary>
 		public OrderScreenType? ScreenType { get; set; }
 
-		public string ScreenTypeText => ScreenType.GetDescription();
+		public string ScreenTypeText => ScreenType.HasValue ? ScreenType.GetDescription() : string.Empty;
 
 		/// <summary>
 		/// 是否可办理