mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 13:55:39 +08:00
31 lines
708 B
Vue
31 lines
708 B
Vue
<template>
|
|
<div class="p-10">
|
|
<div class="flex justify-center p-4 items-center bg-gray-700">
|
|
<RotateDragVerify :src="img" ref="el" @success="handleSuccess" />
|
|
</div>
|
|
</div>
|
|
</template>
|
|
<script lang="ts">
|
|
import { defineComponent } from 'vue';
|
|
import { RotateDragVerify } from '/@/components/Verify/index';
|
|
|
|
import img from '/@/assets/images/header.jpg';
|
|
export default defineComponent({
|
|
components: { RotateDragVerify },
|
|
setup() {
|
|
const handleSuccess = () => {
|
|
console.log('success!');
|
|
};
|
|
return {
|
|
handleSuccess,
|
|
img,
|
|
};
|
|
},
|
|
});
|
|
</script>
|
|
<style lang="less" scoped>
|
|
.bg-gray-700 {
|
|
background: #4a5568;
|
|
}
|
|
</style>
|