Browse Source

* Preventdefault

michael 4 năm trước cách đây
mục cha
commit
46c124ced6
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      demo/router/frmdemo.pp

+ 1 - 0
demo/router/frmdemo.pp

@@ -105,6 +105,7 @@ begin
   URL:=Copy(URL,P+1,Length(URL)-P);
   URL:=Copy(URL,P+1,Length(URL)-P);
   Writeln('URL :',URL);
   Writeln('URL :',URL);
   Router.Push(URL);
   Router.Push(URL);
+  aEvent.preventDefault;
 end;
 end;
 
 
 end.
 end.