标签:
this.get = function() { $http.get(‘/m/employee/logs/‘ + employeeLogs.selectedEmployee).success(function(data) { if (data.status == 200 && data.data) { employeeLogs.logs = data.data; if (employeeLogs.selectedEmployee === "") { employeeLogs.employees = _.uniq(_.map(data.data, _.iteratee(‘userid‘))); } } }); };
标签:
原文地址:http://www.cnblogs.com/leong/p/4242066.html