$ locationProvider.html5Mode(TR ... [英] $locationProvider.html5Mode(tr...

查看:74
本文介绍了$ locationProvider.html5Mode(TR ...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,



我是MVC Angular JS的新手。

我创建了一个应用程序并定义了 $ locationProvider.html5Mode(false) in Rounteconfig.js file。

如果我将其更改为 true ,然后页面进入无限循环并且经过一段时间后崩溃。

任何人帮我解释为什么当我设置为true时它会无限。

Hello,

I am new in MVC Angular JS.
I have create one application and defined $locationProvider.html5Mode(false) in Rounteconfig.js file.
If i change it to true, then page in going in infinite loop and after some time its crashed.
Any one help me why its going in infinite when i set to true.

推荐答案

locationProvider.html5Mode(false) in Rounteconfig.js file。

如果我将其更改为 true ,那么页面将进入无限循环并且在一段时间后崩溃。

任何一个帮助当我设置为true时,为什么它会变为无限。
locationProvider.html5Mode(false) in Rounteconfig.js file.
If i change it to true, then page in going in infinite loop and after some time its crashed.
Any one help me why its going in infinite when i set to true.


这篇关于$ locationProvider.html5Mode(TR ...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆