Commit 21dfb718 authored by wangtz's avatar wangtz

fix

parent 75fc9082
...@@ -195,14 +195,12 @@ class CalendarClockForm extends React.Component { ...@@ -195,14 +195,12 @@ class CalendarClockForm extends React.Component {
} }
selectPlanDay = (day) => { selectPlanDay = (day) => {
const { dispatch } = this.props; const { dispatch } = this.props;
if (day.open) { dispatch({
dispatch({ type: 'createtheme/selectPlanDay',
type: 'createtheme/selectPlanDay', payload: {
payload: { day: day.date,
day: day.date, },
}, });
});
}
} }
daychange = (type) => { daychange = (type) => {
const { dispatch } = this.props; const { dispatch } = this.props;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment