This commit is contained in:
xiezhijun
2021-05-19 18:42:52 +08:00
3 changed files with 17 additions and 6 deletions

View File

@ -104,7 +104,7 @@ export default {
let curPlanId, curMenuId, curDate;
const toDay = dayjs().format("YYYY-MM-DD");
this.planList = plansRes.data.reduce((arr, plan) => {
if (plan.menus) {
if (plan.menus && !!plan.sendFlag) {
let tmpDate = dayjs(plan.startDate).subtract(1, "days");
arr.push({
menus: plan.menus.map((menu) => {