Browse Source

处理错误提示

liusw 7 years ago
parent
commit
542a53f8f8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/webapp/resources/js/vendor/app.js

+ 1 - 1
src/main/webapp/resources/js/vendor/app.js

@@ -978,7 +978,7 @@ define([ 'angularAMD', 'ngLocal', 'common/services', 'common/directives', 'commo
             }).success(function (data) {
                 $rootScope.unReadMessCount = data.count;
 
-            }).error(function (response) {
+            }).error(function (err) {
                 toaster.pop('error', err || '获取未读消息数量失败');
             });
         });