简体   繁体   中英

$location.path not working in IE

I am working on angular application. For redirection i am using $location.path.

Its working fine in chrome/Firefox but not at all in IE(Internet Explorer).

Please help me out.

$ location.path不是首选解决方案。尝试使用$state.go

使用以下结构:$ window.location.href =“您的URL”

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM