diff --git a/src/main/ui/static/config/notice/notice.js b/src/main/ui/static/config/notice/notice.js index ceb451bed..f4a78a017 100644 --- a/src/main/ui/static/config/notice/notice.js +++ b/src/main/ui/static/config/notice/notice.js @@ -188,7 +188,7 @@ define(['angular', 'static/commons/commons', 'static/commons/angular-ueditor', ' $http.put('/sys/notice/' + $scope.notice.notice_id, $scope.notice).then(function (resp) { $scope.saveNoticeResult = false; commonDialog.alert({title: 'Success', content: 'Send a notice successfully', type: 'success'}); - $scope.close(); + $scope.$close(); $state.go('notice.detail', {notice_id: $scope.notice.notice_id}) }, function (resp) { $scope.saveNoticeResult = false;