fix: fix component type (#7601)
parent
7e0978c764
commit
24e1be47ca
|
|
@ -50,9 +50,9 @@ defineExpose({
|
||||||
});
|
});
|
||||||
|
|
||||||
const wrapperRef = useTemplateRef<HTMLDivElement>('wrapperRef');
|
const wrapperRef = useTemplateRef<HTMLDivElement>('wrapperRef');
|
||||||
const barRef = useTemplateRef<typeof SliderCaptchaBar>('barRef');
|
const barRef = useTemplateRef<InstanceType<typeof SliderCaptchaBar>>('barRef');
|
||||||
const contentRef = useTemplateRef<typeof SliderCaptchaContent>('contentRef');
|
const contentRef = useTemplateRef<InstanceType<typeof SliderCaptchaContent>>('contentRef');
|
||||||
const actionRef = useTemplateRef<typeof SliderCaptchaAction>('actionRef');
|
const actionRef = useTemplateRef<InstanceType<typeof SliderCaptchaAction>>('actionRef');
|
||||||
|
|
||||||
watch(
|
watch(
|
||||||
() => state.isPassing,
|
() => state.isPassing,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue