fix(date-picker): input theme is not set in date & datetime type

This commit is contained in:
07akioni 2021-06-05 20:48:26 +08:00
parent 7fcea8111d
commit f171cefd3c
3 changed files with 4 additions and 0 deletions

View File

@ -5,6 +5,7 @@
### Fixes
- Fix `n-dropdown` default placement is not `bottom`.
- Fix `n-date-picker`'s input theme is not set in `date` & `datetime` type.
## 2.11.1

View File

@ -5,6 +5,7 @@
### Fixes
- 修复 `n-dropdown` 默认位置不是 `bottom`
- 修复 `n-date-picker` 输入组件在 `date` & `datetime` 类型下未设定主题
## 2.11.1

View File

@ -711,6 +711,8 @@ export default defineComponent({
: ''
}
onUpdateValue={this.handleSingleUpdateValue}
theme={this.mergedTheme.peers.Input}
themeOverrides={this.mergedTheme.peerOverrides.Input}
internalForceFocus={this.mergedShow}
internalDeactivateOnEnter
{...commonInputProps}