加入分班时选择暂无返回班级列表刷新

This commit is contained in:
yuanke 2016-09-22 14:03:59 +08:00
parent 11132d3459
commit a169ad087b
1 changed files with 1 additions and 0 deletions

View File

@ -54,6 +54,7 @@ app.controller('JoinClassGroupController', ['$scope', '$http', 'auth', 'config',
} }
if(vm.selectid == 0){ if(vm.selectid == 0){
rms.save('syllabuses',[]);
$location.path("/class_list"); $location.path("/class_list");
return; return;
} }