Skip to content

Commit

Permalink
fix: timeout default value to 120s, docs function update
Browse files Browse the repository at this point in the history
  • Loading branch information
luohoufu committed Dec 5, 2024
1 parent 60e769f commit 3bd67ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion web/src/common/src/DatePicker/TimeSetting.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const TimeSetting = props => {
const timeoutObject = useMemo(() => {
if (!timeout) {
return {
value: 60,
value: 120,
unit: 's',
}
}
Expand Down
4 changes: 2 additions & 2 deletions web/src/common/src/DatePicker/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
| showTimeInterval | 是否显示时间间隔 | boolean | false | 1.0.0 |
| timeInterval | 时间间隔 | string | - | 1.0.0 |
| showTimeout | 是否显示超时时间 | boolean | false | 1.0.0 |
| timeout | 超时时间 | string | - | 1.0.0 |
| onTimeSettingChange | 时间配置变更的回调 | ({timeField: string, timeInterval: string}) => void | - | 1.0.0 |
| timeout | 超时时间 | string | 120s | 1.0.0 |
| onTimeSettingChange | 时间配置变更的回调 | ({timeField: string, timeInterval: string, timeout: string}) => void | - | 1.0.0 |
| autoFitLoading | 自动适配时间载入状态 | boolean | false | 1.0.0 |
| onAutoFit | 自动适配时间的回调 | () => void | - | 1.0.0 |
| timeZone | 时区 | string | 'Asia/Shanghai' | 1.0.0 |
Expand Down

0 comments on commit 3bd67ca

Please sign in to comment.