提交 6c2184da 编写于 作者: bo.dang's avatar bo.dang

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

裁剪优化,去掉测试代码,code review:bo.dang



See merge request !202
...@@ -210,8 +210,8 @@ ...@@ -210,8 +210,8 @@
let _this = this let _this = this
const cropParam = this.cropper.getData() const cropParam = this.cropper.getData()
console.log('cropParam', cropParam); console.log('cropParam', cropParam);
cropParam.width = 160; // cropParam.width = 160;
cropParam.height = 120; // cropParam.height = 120;
this.cropper.getCroppedCanvas().toBlob(function (blob) { this.cropper.getCroppedCanvas().toBlob(function (blob) {
var objecturl = window.URL.createObjectURL(blob); var objecturl = window.URL.createObjectURL(blob);
console.log('objecturl', objecturl); console.log('objecturl', objecturl);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册