code refactor

master
MaysWind 2019-08-03 02:31:19 +08:00
parent c8dd72d151
commit 0b3d86eac2
1 changed files with 1 additions and 1 deletions

View File

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