mirror of
https://github.com/jeecgboot/JeecgBoot.git
synced 2025-12-23 06:16:42 +08:00
前端和后端源码,合并到一个git仓库中,方便用户下载,避免前后端不匹配的问题
This commit is contained in:
33
jeecgboot-vue3/src/views/demo/comp/verify/Rotate.vue
Normal file
33
jeecgboot-vue3/src/views/demo/comp/verify/Rotate.vue
Normal file
@ -0,0 +1,33 @@
|
||||
<template>
|
||||
<PageWrapper title="旋转校验示例">
|
||||
<div class="flex justify-center p-4 items-center bg-gray-700">
|
||||
<RotateDragVerify :src="img" ref="el" @success="handleSuccess" />
|
||||
</div>
|
||||
</PageWrapper>
|
||||
</template>
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue';
|
||||
import { RotateDragVerify } from '/@/components/Verify/index';
|
||||
|
||||
import img from '/@/assets/images/header.jpg';
|
||||
|
||||
import { PageWrapper } from '/@/components/Page';
|
||||
|
||||
export default defineComponent({
|
||||
components: { RotateDragVerify, PageWrapper },
|
||||
setup() {
|
||||
const handleSuccess = () => {
|
||||
console.log('success!');
|
||||
};
|
||||
return {
|
||||
handleSuccess,
|
||||
img,
|
||||
};
|
||||
},
|
||||
});
|
||||
</script>
|
||||
<style lang="less" scoped>
|
||||
.bg-gray-700 {
|
||||
background-color: #4a5568;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user