Explorar o código

删除报错修改

zhouna %!s(int64=5) %!d(string=hai) anos
pai
achega
f616509286
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/modules/HomePage/index.jsx

+ 1 - 0
src/modules/HomePage/index.jsx

@@ -167,6 +167,7 @@ const mapDispatchToProps = function (dispatch) {
         const start = homePage.select_start;
         const end = homePage.select_end;
         const boxMark = homePage.select_boxMark;
+        if(!boxMark)return;
         dispatch({
           type:boxMap[boxMark],
           start,