Commit d1b23f54 authored by 前端-钟卫鹏's avatar 前端-钟卫鹏

fix: 代客下单时间段显示问题

parent 1d55dffe
......@@ -132,6 +132,7 @@ export const useOrderDeliverTimeEffect = async (ctx: ISchemaFormActions | ISchem
})
ctx.setFieldState('timeLine', state => {
if(data.paramList?.length) {
state.visible = true
state.props.enum = data.paramList.map(item => ({label: `${item.startTime}-${item.endTime}`, value: `${item.startTime}-${item.endTime}`}))
} else {
state.visible = false
......
import { FastForwardFilled } from '@ant-design/icons';
import { ISchema } from '@formily/antd';
import styles from '../index.less'
......@@ -239,6 +240,7 @@ const submitInfo: ISchema = {
title: ' ',
type: 'radio',
enum: [],
visible: false,
"x-component-props": {
disabled: false,
optionType: 'button',
......
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