|
@@ -92,7 +92,7 @@ export default {
|
|
|
uni.chooseMedia({
|
|
uni.chooseMedia({
|
|
|
count: this.fileNum, //默认9
|
|
count: this.fileNum, //默认9
|
|
|
mediaType: 'image', //可以指定是原图还是压缩图
|
|
mediaType: 'image', //可以指定是原图还是压缩图
|
|
|
- sourceType: 'album',
|
|
|
|
|
|
|
+ sourceType:[ 'album'],
|
|
|
success: (res) => {
|
|
success: (res) => {
|
|
|
tools.showLoading()
|
|
tools.showLoading()
|
|
|
if (res.tempFiles !== undefined) {
|
|
if (res.tempFiles !== undefined) {
|