简体   繁体   中英

Chrome Creating issue for Intrapage link in Anchor tag

I am having a unique issue which I never came across. In my Case when I use the "#filterPop" in the Url chrome is appending additional slash after / like : "#/filterpop" .

Can someone Suggest how to eliminte this behaviour ?

PS: I am using Angular JS but I am not using any Routing.

Thanks.

set html mode like $locationProvider.html5Mode(true); in app.js (main js) file and set base tag in html file

<base href='/'>

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