How I can get pathname from the JS Action?

0
  why I cant get the pathname ? always output '/', not the right '/Dashboard' !!!  
asked
0 answers