瀏覽代碼

FIX: 更新工单FullAddress字段未更新

xf 1 年之前
父節點
當前提交
84cb082428
共有 1 個文件被更改,包括 2 次插入5 次删除
  1. 2 5
      src/Hotline.Share/Dtos/Position.cs

+ 2 - 5
src/Hotline.Share/Dtos/Position.cs

@@ -54,10 +54,7 @@ public class Position
 
     public void InitAddress()
     {
-        if (string.IsNullOrEmpty(Address))
-        {
-            Address = $"{Province}{City}{County}{Town}";
-            FullAddress = $"{Address}{Street}";
-        }
+        Address = $"{Province}{City}{County}{Town}";
+        FullAddress = $"{Address}{Street}";
     }
 }