Commit d41dd9dd by 陈玉桐

fix

parent 9e8e835c
......@@ -15,8 +15,6 @@
:autoCropWidth="option.autoCropWidth"
:autoCropHeight="option.autoCropHeight"
:fixedBox="option.fixedBox"
@realTime="realTime"
@imgLoad="imgLoad"
></vueCropper>
<div class="cropperOpt">
<span @click="cropperShow=false">取消</span>
......@@ -212,7 +210,6 @@ export default {
autoCropHeight: 150,
fixedBox: false // 截图框固定大小
},
previews: {},
cropperShow: false,
......@@ -339,15 +336,6 @@ export default {
})
},
methods: {
// 实时预览函数
realTime(data) {
console.log('realTime')
this.previews = data
},
imgLoad (msg) {
console.log('imgLoad')
console.log(msg)
},
croppSure() {//裁剪完成
this.$refs.cropper.getCropData(data=>{
this.option.img = ''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment