@@ -6,7 +6,7 @@ import EyeOutlined from '@ant-design/icons-vue/EyeOutlined';
6
6
import EyeInvisibleOutlined from '@ant-design/icons-vue/EyeInvisibleOutlined' ;
7
7
import type { InputProps } from './inputProps' ;
8
8
import inputProps from './inputProps' ;
9
- import { computed , defineComponent , shallowRef , watch , watchEffect } from 'vue' ;
9
+ import { computed , defineComponent , shallowRef , watchEffect } from 'vue' ;
10
10
import useConfigInject from '../config-provider/hooks/useConfigInject' ;
11
11
import omit from '../_util/omit' ;
12
12
import { functionType } from '../_util/type' ;
@@ -28,7 +28,7 @@ export default defineComponent({
28
28
action : { type : String , default : 'click' } ,
29
29
visibilityToggle : { type : Boolean , default : true } ,
30
30
visible : { type : Boolean , default : undefined } ,
31
- 'onUpdate :visible' : functionType < ( visible : boolean ) => void > ,
31
+ 'update :visible' : functionType < ( visible : boolean ) => void > ,
32
32
iconRender : Function ,
33
33
} ,
34
34
setup ( props , { slots, attrs, expose, emit } ) {
0 commit comments