ui基于cropper.js封装vue实现图片裁剪组件功能(3)

<template> <div > <el-dialog :visible.sync="showCropper" title="封面裁图"> <cropper ref="cropper" @cropper-success="cropperSuccessHandle"></cropper> <span slot="footer"> <el-button @click="cancelCropper">取 消</el-button> <el-button type="primary" @click="toCropper">确 定</el-button> </span> </el-dialog> </div>

script:

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://www.heiqu.com/psfyp.html