|
@@ -289,6 +289,7 @@
|
|
|
uni.chooseImage({
|
|
|
sourceType: ['album','camera'],
|
|
|
count:1,
|
|
|
+ sizeType:['compressed'],
|
|
|
success: (chooseImageRes) => {
|
|
|
const tempFilePaths = chooseImageRes.tempFilePaths;
|
|
|
that.file=tempFilePaths[0]
|
|
@@ -437,6 +438,7 @@
|
|
|
uni.chooseImage({
|
|
|
sourceType: ['album','camera'],
|
|
|
count:9,
|
|
|
+ sizeType:['compressed'],
|
|
|
success: (chooseImageRes) => {
|
|
|
const tempFilePaths = chooseImageRes.tempFilePaths;
|
|
|
that.file=tempFilePaths[0]
|