TUI

0.3.7
CaptchaModal 滑块验证码
提供一种便捷的滑块验证码组件
基础用法
搭配按钮使用的效果
示例代码
vue
<template>
  <TsButton @click="captchaVisible=true">打开滑块验证码</TsButton>
  <TsCaptchaModal v-model="captchaVisible" />
</template>

<script setup lang="ts">
  const captchaVisible = ref(false)
</script>
属性 Props
属性名
说明
类型
可选值
默认值
v-model
是否打开滑块验证码
Boolean
-
-