Commit a92ad379 authored by guang.wu's avatar guang.wu

fix: 修改初始化数据

parent 787ae53a
......@@ -16,10 +16,11 @@ const MealLimitsFormList = (meals, selectedMealTypes) => (
<Form.Item
label=""
name={[i, 'mealPeriodType']}
initialValue={meal}
labelCol={{ span: 0 }}
wrapperCol={{ span: 0 }}
>
<Input type="hidden" value={meal} />
<Input type="hidden" />
</Form.Item>
</Col>
<Col span={24}>
......@@ -40,9 +41,10 @@ const MealLimitsFormList = (meals, selectedMealTypes) => (
label=""
name={[j, 'mealType']}
labelCol={{ span: 0 }}
initialValue={t}
wrapperCol={{ span: 0 }}
>
<Input type="hidden" value={t} />
<Input type="hidden" />
</Form.Item>
</Col>
<Col span={24} offset={j ? 1 : 0}>
......
......@@ -14,7 +14,7 @@ const CustomerInfo = props => {
const refForm = useRef(null);
/**
* 7. 表单关闭
* @param {boolean} isRefresh 是否刷新列表
* isRefresh 是否刷新列表
*/
const closeModal = isRefresh => {
if (!isRefresh && typeof props.onClose === 'function') {
......
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