瀏覽代碼

删除报错修改

zhouna 5 年之前
父節點
當前提交
f616509286
共有 1 個文件被更改,包括 1 次插入0 次删除
  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,