Jelajahi Sumber

* Correct getcurrentlocation

michael 5 tahun lalu
induk
melakukan
0bc30e88e8
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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;