提交 41d2eafa 编写于 作者: bo.dang's avatar bo.dang

Merge branch 'dev-circle-live-20200715' into 'release'

裁剪优化,code review:bo.dang



See merge request !201
......@@ -210,6 +210,8 @@
let _this = this
const cropParam = this.cropper.getData()
console.log('cropParam', cropParam);
cropParam.width = 160;
cropParam.height = 120;
this.cropper.getCroppedCanvas().toBlob(function (blob) {
var objecturl = window.URL.createObjectURL(blob);
console.log('objecturl', objecturl);
......
因为 它太大了无法显示 源差异 。您可以改为 查看blob
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册