File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,8 @@ export default {
77
77
const { prefixCls, inputPrefixCls, size, ...others } = getOptionProps ( this ) ;
78
78
const suffix = getComponentFromProp ( this , 'suffix' ) ;
79
79
const enterButton = getComponentFromProp ( this , 'enterButton' ) ;
80
+ const addonAfter = getComponentFromProp ( this , 'addonAfter' ) ;
81
+ const addonBefore = getComponentFromProp ( this , 'addonBefore' ) ;
80
82
const buttonOrIcon = this . getButtonOrIcon ( ) ;
81
83
let searchSuffix = suffix ? [ suffix , buttonOrIcon ] : buttonOrIcon ;
82
84
if ( Array . isArray ( searchSuffix ) ) {
@@ -99,6 +101,8 @@ export default {
99
101
prefixCls : inputPrefixCls ,
100
102
size,
101
103
suffix : searchSuffix ,
104
+ addonAfter,
105
+ addonBefore,
102
106
} ,
103
107
attrs : this . $attrs ,
104
108
on : {
You can’t perform that action at this time.
0 commit comments