@@ -2,7 +2,7 @@ import classNames from '../_util/classNames';
2
2
import CloseCircleFilled from '@ant-design/icons-vue/CloseCircleFilled' ;
3
3
import PropTypes from '../_util/vue-types' ;
4
4
import { cloneElement } from '../_util/vnode' ;
5
- import type { PropType , VNode } from 'vue' ;
5
+ import type { CSSProperties , PropType , VNode } from 'vue' ;
6
6
import { ref , defineComponent } from 'vue' ;
7
7
import { tuple } from '../_util/type' ;
8
8
import type { Direction , SizeType } from '../config-provider' ;
@@ -121,7 +121,7 @@ export default defineComponent({
121
121
< span
122
122
ref = { containerRef }
123
123
class = { affixWrapperCls }
124
- style = { attrs . style }
124
+ style = { attrs . style as CSSProperties }
125
125
onMouseup = { onInputMouseUp }
126
126
hidden = { hidden }
127
127
>
@@ -173,7 +173,7 @@ export default defineComponent({
173
173
// Need another wrapper for changing display:table to display:inline-block
174
174
// and put style prop in wrapper
175
175
return (
176
- < span class = { mergedGroupClassName } style = { attrs . style } hidden = { hidden } >
176
+ < span class = { mergedGroupClassName } style = { attrs . style as CSSProperties } hidden = { hidden } >
177
177
< span class = { mergedWrapperClassName } >
178
178
{ addonBeforeNode }
179
179
{ cloneElement ( labeledElement , { style : null } ) }
@@ -209,7 +209,7 @@ export default defineComponent({
209
209
} ,
210
210
) ;
211
211
return (
212
- < span class = { affixWrapperCls } style = { attrs . style } hidden = { hidden } >
212
+ < span class = { affixWrapperCls } style = { attrs . style as CSSProperties } hidden = { hidden } >
213
213
{ cloneElement ( element , {
214
214
style : null ,
215
215
value,
0 commit comments