Browse Source

* Correct getcurrentlocation

michael 5 năm trước cách đây
mục cha
commit
0bc30e88e8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      packages/rtl/webrouter.pp

+ 1 - 1
packages/rtl/webrouter.pp

@@ -646,7 +646,7 @@ end;
 
 function TRouter.GetCurrentLocation: String;
 begin
-
+  Result:=History.GetCurrentLocation;
 end;
 
 function TRouter.Push(location: TRawLocation): TTransitionResult;