发送课程的时候提示语修改
This commit is contained in:
parent
7a9665bbee
commit
d49bc8b114
|
@ -29,6 +29,11 @@ app.controller('SendClassListController', ['$scope', '$http','$routeParams', 'co
|
|||
course_ids.push(vm.courses[i].id);
|
||||
}
|
||||
}
|
||||
|
||||
if(course_ids.length <= 0){
|
||||
vm.alertService.showMessage('提醒', '请先选择班级');
|
||||
return;
|
||||
}
|
||||
|
||||
$http.post(config.apiUrl + "resources/send", {
|
||||
token: auth.token(), course_ids: course_ids, send_id: send_id
|
||||
|
|
Loading…
Reference in New Issue