Explorar el Código

无返回数据loading也关闭

zhouna hace 6 años
padre
commit
250d2ba147
Se han modificado 1 ficheros con 1 adiciones y 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);
       }
     });