Commit c70e6299 authored by 田翔's avatar 田翔

fix: 时间增加时间段优化2

parent c42d2de5
{
"name": "panda-xform",
"version": "5.9.24",
"description": "5.9.24 时间增加时间段优化",
"version": "5.9.25",
"description": "5.9.25 时间增加时间段优化2",
"keywords": [
"panda-xform"
],
......
......@@ -86,6 +86,7 @@ const DateTime = (props) => {
{
format === 'datePeriod' && (
<Select
disabled={disabled}
value={period}
style={{ width: '70px' }}
onChange={(value) => selectChange(value)}
......
......@@ -31,6 +31,7 @@ const getJson = (json, value) => {
const RadioGroup = (props) => {
console.log('props', props)
const { value, schema, onChange } = props
const [values, setvalues] = useState(value)
......@@ -46,8 +47,8 @@ const RadioGroup = (props) => {
<div className={styles.radioGroup}>
<Radio.Group
onChange={onSelect}
defaultValue={value}
buttonStyle="solid"
value={value}
>
{
schema?.enum?.map((v, i) => {
......
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