fix: fix component type (#7601)

This commit is contained in:
橙子
2026-03-10 05:11:06 +08:00
committed by GitHub
parent 7e0978c764
commit 24e1be47ca

View File

@@ -50,9 +50,9 @@ defineExpose({
});
const wrapperRef = useTemplateRef<HTMLDivElement>('wrapperRef');
const barRef = useTemplateRef<typeof SliderCaptchaBar>('barRef');
const contentRef = useTemplateRef<typeof SliderCaptchaContent>('contentRef');
const actionRef = useTemplateRef<typeof SliderCaptchaAction>('actionRef');
const barRef = useTemplateRef<InstanceType<typeof SliderCaptchaBar>>('barRef');
const contentRef = useTemplateRef<InstanceType<typeof SliderCaptchaContent>>('contentRef');
const actionRef = useTemplateRef<InstanceType<typeof SliderCaptchaAction>>('actionRef');
watch(
() => state.isPassing,