Commit 3225d62c authored by 张子雨's avatar 张子雨

feat: 修改校验

parent 71729977
...@@ -23,10 +23,10 @@ const EditRepastModal = props => { ...@@ -23,10 +23,10 @@ const EditRepastModal = props => {
const store = values?.store || ''; const store = values?.store || '';
let mealTypeList = []; let mealTypeList = [];
if (values?.mealTypeList) { if (values?.mealTypeList) {
mealTypeList = [values?.mealTypeList]; mealTypeList = [values?.mealTypeList, ...store];
} else {
mealTypeList = [...store];
} }
mealTypeList = [...store];
const params = { const params = {
id, id,
mealTypeList, mealTypeList,
......
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