TypeError:无法读取未定义的属性“ includes”

时间:2018-10-23 08:24:17

标签: angularjs

我在此收到此消息错误

angular.forEach($scope.curriculums, function (item) {
            if ($scope.formData.SchoolCurriculums.includes(item.CurriculumId)) {
                item.checked = true;
            }
        });

0 个答案:

没有答案