优化图片上传
This commit is contained in:
@@ -310,7 +310,7 @@ Component({
|
||||
height: Math.round(this.data.height * this.data.export_scale),
|
||||
destWidth: this.data.width * this.data.export_scale,
|
||||
destHeight: Math.round(this.data.height) * this.data.export_scale,
|
||||
fileType: 'png',
|
||||
fileType: 'jpg',
|
||||
quality: this.data.quality,
|
||||
canvasId: this.data.el,
|
||||
success: (res) => {
|
||||
@@ -849,7 +849,7 @@ Component({
|
||||
height: Math.round(this.data.height * this.data.export_scale),
|
||||
destWidth: this.data.width * this.data.export_scale,
|
||||
destHeight: Math.round(this.data.height) * this.data.export_scale,
|
||||
fileType: 'png',
|
||||
fileType: 'jpg',
|
||||
quality: this.data.quality,
|
||||
canvasId: this.data.el,
|
||||
success: (res) => {
|
||||
|
||||
Reference in New Issue
Block a user