Browse Source

删除报错修改

zhouna 5 năm trước cách đây
mục cha
commit
f616509286
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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,