Ver código fonte

无返回数据loading也关闭

zhouna 6 anos atrás
pai
commit
250d2ba147
1 arquivos alterados com 1 adições e 0 exclusões
  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);
       }
     });