فهرست منبع

删除报错修改

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,