add loading tips

This commit is contained in:
MaysWind 2016-05-17 23:32:36 +08:00
parent 4873e944e2
commit 347be6695d

View file

@ -63,7 +63,7 @@
} }
if (invokeMethod) { if (invokeMethod) {
invokeMethod({ return invokeMethod({
params: params, params: params,
callback: function (result) { callback: function (result) {
if (result && result.length > 0) { if (result && result.length > 0) {
@ -80,7 +80,7 @@
} }
}; };
refreshDownloadTask(); $scope.loadPromise = refreshDownloadTask();
angular.element($window).bind('resize', function () { angular.element($window).bind('resize', function () {
$scope.titleWidth = getTitleWidth(); $scope.titleWidth = getTitleWidth();