|
@@ -337,7 +337,7 @@
|
|
|
},
|
|
|
// 拍照或从相册选图片
|
|
|
goPhotograph() {
|
|
|
- wx.chooseImage({
|
|
|
+ uni.chooseImage({
|
|
|
count: 1, //默认9
|
|
|
sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
|
|
|
sourceType: ['album','camera'], //从相册选择
|
|
@@ -352,7 +352,7 @@
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
- wx.showLoading({
|
|
|
+ uni.showLoading({
|
|
|
title:'正在保存图片...',
|
|
|
mask: true
|
|
|
})
|
|
@@ -426,7 +426,7 @@
|
|
|
params.reserveWeight=this.checkWeightType
|
|
|
}
|
|
|
if(this.photograph){
|
|
|
- params.imageHeaderList=this.photograph
|
|
|
+ params.imageList=this.photograph
|
|
|
}
|
|
|
console.log(params,'------------参数')
|
|
|
yuyueInfoSave(params).then(res=>{
|