Angularjs IE8和IE9中不支持值参数中的循环引用
使用角度ui日历时出现问题 当我从加载日历的位置更改路线时,我的值参数中不支持循环引用 此外,当日历加载时,控制台显示错误索引OF not SUPPORED 此错误仅在IE8和IE9上发生 我的控制器里有 $scope.eventSources=[[{“开始”:“2014-03-07T00:00:00Z”,“标题”:“环童服务”},{“开始”:“2014-03-06T00:00:00Z”,“标题”:“检查事件”}] 在HTML模板中Angularjs IE8和IE9中不支持值参数中的循环引用,angularjs,internet-explorer,internet-explorer-8,calendar,angular-ui,Angularjs,Internet Explorer,Internet Explorer 8,Calendar,Angular Ui,使用角度ui日历时出现问题 当我从加载日历的位置更改路线时,我的值参数中不支持循环引用 此外,当日历加载时,控制台显示错误索引OF not SUPPORED 此错误仅在IE8和IE9上发生 我的控制器里有 $scope.eventSources=[[{“开始”:“2014-03-07T00:00:00Z”,“标题”:“环童服务”},{“开始”:“2014-03-06T00:00:00Z”,“标题”:“检查事件”}] 在HTML模板中 <div ui-calendar="uiConfig.c
<div ui-calendar="uiConfig.calendar" class="col-sm-11 calendar" ng-model="eventSources"> </div>
任何想法都将不胜感激
谢谢原来问题是使用location.href而不是$location.path更改位置引起的
不确定location.href导致问题的原因,但使用$location.path可以解决问题。当您更改路由时,是否尝试对事件执行任何操作?arshaw fullcalendar v1创建了对其自身事件的循环引用。如果没有,那么我建议使用uiCalendar的旧版本,看看它们是否有效。我知道它过去和IE配合使用很好,但我已经一年多没用过IE了,所以如果它坏了,我也不会感到惊讶。