提交 89ea4121 编写于 作者: 张磊

修改chooseImage和chooseVideo web端编译报警问题。

上级 689ef27e
......@@ -273,8 +273,12 @@
sizeType: sizeTypeArray[this.sizeTypeIndex],
crop: this.isCrop ? { "quality": this.cropPercent, "width": this.cropWidth, "height": this.cropHeight, "resize": this.cropResize } as ChooseImageCropOptions : null,
count: this.imageList.length + this.count[this.countIndex] > 9 ? 9 - this.imageList.length : this.count[this.countIndex],
// #ifdef APP
pageOrientation: orientationTypeArray[this.orientationTypeIndex],
// #endif
// #ifdef APP-ANDROID
albumMode: albumModeTypeArray[this.albumModeTypeIndex],
// #endif
success: (res) => {
this.imageList = this.imageList.concat(res.tempFilePaths);
},
......
......@@ -67,7 +67,9 @@
pageOrientation: this.orientationType,
// #endif
maxDuration: this.maxDuration,
// #ifdef APP-ANDROID
albumMode: this.albumMode,
// #endif
camera: this.camera,
success: (res) => {
console.log("chooseVideo success", JSON.stringify(res));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册