Internet explorer 8 angularjs位置提供商internet explorer 8
我正在使用angular.js,在IE8上遇到了问题 它将我的站点从examplepage.local/the/path重定向到examplepage.local/#/the/path,并显示一个空白页面 我已经激活了HTML5模式Internet explorer 8 angularjs位置提供商internet explorer 8,internet-explorer-8,angularjs,Internet Explorer 8,Angularjs,我正在使用angular.js,在IE8上遇到了问题 它将我的站点从examplepage.local/the/path重定向到examplepage.local/#/the/path,并显示一个空白页面 我已经激活了HTML5模式 $locationProvider.html5Mode(false); 它在chrome或firefox等浏览器中运行良好。在angular的文档中说:“在传统浏览器中打开常规URL->重定向到hashbang URL”,因此这似乎是预期的行为 不过,这里有一些信
$locationProvider.html5Mode(false);
它在chrome或firefox等浏览器中运行良好。在angular的文档中说:“在传统浏览器中打开常规URL->重定向到hashbang URL”,因此这似乎是预期的行为 不过,这里有一些信息供您参考。一个人确实解决了这个问题,并贴了一个片段