21 lines
461 B
Vue
21 lines
461 B
Vue
<script setup lang="ts">
|
|
import {
|
|
CheckboxContent,
|
|
CheckboxControl,
|
|
CheckboxIndicator,
|
|
Checkbox,
|
|
FieldError,
|
|
} from "@heroui-vue/components";
|
|
</script>
|
|
<template>
|
|
<Checkbox is-invalid is-required name="agreement">
|
|
<CheckboxContent>
|
|
<CheckboxControl>
|
|
<CheckboxIndicator />
|
|
</CheckboxControl>
|
|
我同意条款
|
|
</CheckboxContent>
|
|
<FieldError>您必须接受条款才能继续</FieldError>
|
|
</Checkbox>
|
|
</template>
|