code refactor

This commit is contained in:
MaysWind 2019-08-03 02:31:19 +08:00
parent c8dd72d151
commit 0b3d86eac2

View file

@ -829,7 +829,7 @@
}));
}
return $q.all(promises).then(function () {
return $q.all(promises).then(function onSuccess() {
if (callback) {
callback({
hasSuccess: !!hasSuccess,