<template>
	<view>
		<qf-image-cropper :width="196" :height="230" :radius="0" @crop="handleCrop" :reverseRotatable="true"></qf-image-cropper>
	</view>
</template>

<script>
	export default {
		methods: {
			handleCrop(e) {
				uni.saveFile({
					tempFilePath: e.tempFilePath,
					success: function(res) {
						res.avatar = res.savedFilePath
					}
				});
			}
		}
	}
</script>