Browse Source

项目审核后重新加载列表和各类数量问题处理。

dongbw 8 years ago
parent
commit
9ad527f09b
1 changed files with 2 additions and 1 deletions
  1. 2 1
      donate-console/src/main/webapp/resources/js/index/app.js

+ 2 - 1
donate-console/src/main/webapp/resources/js/index/app.js

@@ -392,6 +392,7 @@ define([ 'angularAMD', 'ui.router', 'ui-bootstrap', 'ngLocal', 'ngTable', 'file-
                     if (data.success) {
                         toaster.pop('success', '操作成功');
                     }
+                    getNum();
                     $scope.projectParams.reload();
                 }, function(){
 
@@ -551,7 +552,7 @@ define([ 'angularAMD', 'ui.router', 'ui-bootstrap', 'ngLocal', 'ngTable', 'file-
                 if (data.error) {
                     toaster.pop('error','操作失败');
                 }
-                $modalInstance.close();
+                $modalInstance.close(true);
             }, function(){
 
             });