fix:修复 embed 模式下 input-date-range 无法使用问题 (#3875)

* fix:修复 embed 模式下 input-date-range 无法使用问题

* 更新 snapshot
This commit is contained in:
吴多益 2022-03-30 12:48:27 +08:00 committed by GitHub
parent 8fd4f09dcd
commit cc47d64d44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -58,7 +58,7 @@ exports[`Renderer:dateRange 1`] = `
>
<input
autocomplete="off"
class="cxd-DateRangePicker-input"
class="cxd-DateRangePicker-input isActive"
placeholder="选择开始时间"
type="text"
value="2019-06-06"

View File

@ -518,6 +518,7 @@ export class DateRangePicker extends React.Component<
this.state = {
isOpened: false,
isFocused: false,
editState: 'start',
startDate,
endDate,
startInputValue: startDate?.format(inputFormat),