提交 c3f89d32 编写于 作者: L lepdou

uat & bugfix

上级 b16ef121
...@@ -17,4 +17,4 @@ ctrip: ...@@ -17,4 +17,4 @@ ctrip:
apollo: apollo:
portal: portal:
env: dev,fat env: dev,fat,uat
...@@ -245,8 +245,8 @@ application_module.controller("AppConfigController", ...@@ -245,8 +245,8 @@ application_module.controller("AppConfigController",
AppService.create(env, $scope.appBaseInfo).then(function (result) { AppService.create(env, $scope.appBaseInfo).then(function (result) {
toastr.success(env, '创建成功'); toastr.success(env, '创建成功');
count ++; count ++;
if (count == $scope.selectedEnvs){ if (count == $scope.selectedEnvs.length){
$route.reload(); location.reload(true);
} }
}, function (result) { }, function (result) {
toastr.error(AppUtil.errorMsg(result), '创建失败:' + env); toastr.error(AppUtil.errorMsg(result), '创建失败:' + env);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册