fix: fix component type (#7601)
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user