Angularjs Full Calendar doesn't display events

前端 未结 3 1337
终归单人心
终归单人心 2021-01-23 13:07

I am using that https://github.com/angular-ui/ui-calendar to use the FullCalendar in Angularjs.

It displays the calendar and showing no errors;

3条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-23 13:29

    What worked me is.

    Instead of this.

    $scope.eventSources = [$scope.myEvents, $scope.someOtherArray, $scope.otherEvents];
    

    TRY THIS

    $scope.eventSources.push($scope.myEvents);
    

提交回复
热议问题