u
This commit is contained in:
1 parent
32d423b759
commit
78eb811ff7
102 files changed
+12067
-209
No files matched your search
@@ -0,0 +1,16 @@
|
||||
<script setup lang="ts">
|
||||
// 最基础用法:v-model 绑 boolean,true 表示已验证通过
|
||||
import { ref } from 'vue'
|
||||
import { G3SliderCaptcha } from '@g3soft/ui'
|
||||
|
||||
const passed = ref(false)
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div style="max-width: 360px">
|
||||
<G3SliderCaptcha v-model="passed" />
|
||||
<p style="margin: 8px 0 0; font-size: 13px">
|
||||
当前状态:{{ passed ? '已验证' : '未验证' }}
|
||||
</p>
|
||||
</div>
|
||||
</template>
|
||||
Reference in new issue
Block a user