Explorar o código

无返回数据loading也关闭

zhouna %!s(int64=6) %!d(string=hai) anos
pai
achega
250d2ba147
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/store/async-actions/fetchModules.js

+ 1 - 0
src/store/async-actions/fetchModules.js

@@ -173,6 +173,7 @@ export function pregetCheckbodyData(flag){     //flag=true获取到数据后立
           dispatch({type:MODI_LOADING,flag:false});
         }
       }else{
+        dispatch({type:MODI_LOADING,flag:false});
         Notify.error(res.data.msg);
       }
     });