Commit d41dd9dd by 陈玉桐

fix

parent 9e8e835c
...@@ -15,8 +15,6 @@ ...@@ -15,8 +15,6 @@
:autoCropWidth="option.autoCropWidth" :autoCropWidth="option.autoCropWidth"
:autoCropHeight="option.autoCropHeight" :autoCropHeight="option.autoCropHeight"
:fixedBox="option.fixedBox" :fixedBox="option.fixedBox"
@realTime="realTime"
@imgLoad="imgLoad"
></vueCropper> ></vueCropper>
<div class="cropperOpt"> <div class="cropperOpt">
<span @click="cropperShow=false">取消</span> <span @click="cropperShow=false">取消</span>
...@@ -212,7 +210,6 @@ export default { ...@@ -212,7 +210,6 @@ export default {
autoCropHeight: 150, autoCropHeight: 150,
fixedBox: false // 截图框固定大小 fixedBox: false // 截图框固定大小
}, },
previews: {},
cropperShow: false, cropperShow: false,
...@@ -339,15 +336,6 @@ export default { ...@@ -339,15 +336,6 @@ export default {
}) })
}, },
methods: { methods: {
// 实时预览函数
realTime(data) {
console.log('realTime')
this.previews = data
},
imgLoad (msg) {
console.log('imgLoad')
console.log(msg)
},
croppSure() {//裁剪完成 croppSure() {//裁剪完成
this.$refs.cropper.getCropData(data=>{ this.$refs.cropper.getCropData(data=>{
this.option.img = '' 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