* [refac] change loading indicator delay time on loading partial.

This commit is contained in:
sunhao
2024-07-29 08:57:28 +08:00
committed by 刘刚
parent f4f7e177f1
commit 4a501e3fb6
+1 -1
View File
@@ -563,7 +563,7 @@
{
updatePerfInfo(options, 'requestBegin');
if(isDebugRequest) return;
if(options.loadingTarget !== false) toggleLoading(options.loadingTarget || target, true, options.loadingClass, cache ? '5s' : '1s');
if(options.loadingTarget !== false) toggleLoading(options.loadingTarget || target, true, options.loadingClass, options.loadingIndicatorDelay || (options.partial ? '.2s' : (cache ? '5s' : '1s')));
if(options.before) options.before();
},
success(rawData)