cl-slide-verify 添加导出方法

This commit is contained in:
icssoa
2025-08-28 18:47:27 +08:00
parent fe71ae2ce7
commit dd47baba2d
2 changed files with 6 additions and 1 deletions

View File

@@ -413,8 +413,8 @@ watch(
}
);
// 暴露方法
defineExpose({
init,
reset
});
</script>

View File

@@ -201,3 +201,8 @@ declare type ClPageComponentPublicInstance = {
scrollTo: (top: number) => void;
scrollToTop: () => void;
};
declare type ClSlideVerifyComponentPublicInstance = {
init: () => void;
reset: () => void;
};