去掉一个错误提示

This commit is contained in:
luchenqun 2017-04-12 17:09:50 +08:00
parent 98cf397554
commit 3598f3e6f9
2 changed files with 3 additions and 1 deletions

View File

@ -200,6 +200,7 @@ app.controller('menuCtr', ['$scope', '$stateParams', '$state', '$window', '$time
}, 200);
})
.catch((err) => {
toastr.error('获取信息失败。错误信息:' + JSON.stringify(err), "错误");
console.log(err);
// toastr.error('获取信息失败。错误信息:' + JSON.stringify(err), "错误");
});
}]);

View File

@ -26,6 +26,7 @@ app.controller('settingsCtr', ['$scope', '$stateParams', '$filter', '$state', '$
}
})
.catch((err) => {
console.log(err);
toastr.error('获取信息失败。错误信息:' + JSON.stringify(err), "错误");
$scope.loadShowStyle = false;
});