提交 1bc5ef47 编写于 作者: DCloud_iOS_WZT's avatar DCloud_iOS_WZT

移除注释代码

上级 f03226ba
...@@ -27,8 +27,6 @@ ...@@ -27,8 +27,6 @@
@confirm="onQualityConfirm"></input-data> @confirm="onQualityConfirm"></input-data>
<input-data title="压缩后图片的宽度,单位px" type="string" @confirm="onCompressedWidthConfirm"></input-data> <input-data title="压缩后图片的宽度,单位px" type="string" @confirm="onCompressedWidthConfirm"></input-data>
<input-data title="压缩后图片的高度,单位px" type="string" @confirm="onCompressedHeightConfirm"></input-data> <input-data title="压缩后图片的高度,单位px" type="string" @confirm="onCompressedHeightConfirm"></input-data>
<!-- <input-data defaultValue="auto" title="压缩后图片的宽度,支持px、%、auto" type="string" @confirm="onWidthConfirm"></input-data>
<input-data defaultValue="auto" title="压缩后图片的高度,支持px、%、auto" type="string" @confirm="onHeightConfirm"></input-data> -->
<input-data defaultValue="0" title="旋转度数,范围0~360" type="number" @confirm="onRotateConfirm"></input-data> <input-data defaultValue="0" title="旋转度数,范围0~360" type="number" @confirm="onRotateConfirm"></input-data>
<!-- #ifdef APP --> <!-- #ifdef APP -->
</scroll-view> </scroll-view>
...@@ -50,8 +48,6 @@ ...@@ -50,8 +48,6 @@
quality: 80, quality: 80,
compressedWidth: null as number | null, compressedWidth: null as number | null,
compressedHeight: null as number | null, compressedHeight: null as number | null,
width: "auto",
height: "auto",
rotate: 0, rotate: 0,
// 自动化测试 // 自动化测试
imageInfoForTest: null, imageInfoForTest: null,
...@@ -75,8 +71,6 @@ ...@@ -75,8 +71,6 @@
quality: this.quality, quality: this.quality,
compressedWidth: this.compressedWidth, compressedWidth: this.compressedWidth,
compressedHeight: this.compressedHeight, compressedHeight: this.compressedHeight,
width: this.width,
height: this.height,
rotate: this.rotate, rotate: this.rotate,
success: (res) => { success: (res) => {
console.log("compressImage success", JSON.stringify(res)); console.log("compressImage success", JSON.stringify(res));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册