createEmpModule.controller('createEmpCtrl', function ($scope, $http) {
$scope.listDatas = function() {
$http.post("/Common/Common/GetLanguages").then(function (result) {
$scope.list = result;
});
}
$scope.listDatas();
});
angular.min.js:9827 POST http: //localhost:xxxxx/Common/Common/GetLanguages 500 (Internal Server Error)
角错误行:
xhr.send(post || null);
所以,函数返回返回值,
更像是服务器端的问题。 – Icycool
至少做了一个搜索,以找出500错误意味着什么! – charlietfl
我已经探索过了。说你知道。 –