|
@@ -299,7 +299,7 @@
|
|
|
const tempFilePaths = chooseImageRes.tempFilePaths;
|
|
|
that.file=tempFilePaths[0];
|
|
|
that.$refs.wCompress.start(that.file, {
|
|
|
- pixels: 400000, // 最大分辨率,默认二百万
|
|
|
+ pixels: 600000, // 最大分辨率,默认二百万
|
|
|
quality: 0.9, // 压缩质量,默认0.8
|
|
|
type: 'png', // 图片类型,默认jpg
|
|
|
base64: true, // 是否返回base64,默认false,非H5有效
|
|
@@ -467,7 +467,7 @@
|
|
|
const tempFilePaths = chooseImageRes.tempFilePaths;
|
|
|
that.file=tempFilePaths[0]
|
|
|
that.$refs.wCompress.start(that.file, {
|
|
|
- pixels: 400000, // 最大分辨率,默认二百万
|
|
|
+ pixels: 600000, // 最大分辨率,默认二百万
|
|
|
quality: 0.9, // 压缩质量,默认0.8
|
|
|
type: 'png', // 图片类型,默认jpg
|
|
|
base64: true, // 是否返回base64,默认false,非H5有效
|