master
kira 6 years ago
parent 1305007264
commit 70d8160871

@ -89,6 +89,9 @@ define(['angular', 'uiRouter'], function (angular) {
var param = {nick:servant.nick};
$http.put('/sys/openim/servant/'+servant.manager_id+'/nick',param).then(function (resp) {
$scope.ctrl.nick[servant.display_name] = false;
if(!servant.password){
$scope.loadServants();
}
},function (resp) {
commonDialog.alert({title: 'Error', content: resp.data.message, type: 'error'});
});

Loading…
Cancel
Save