|
|
@@ -252,7 +252,6 @@ export default {
|
|
|
.then(res => {
|
|
|
this.hideLoading();
|
|
|
this.actions = res.content;
|
|
|
- // console.log(this.actions);
|
|
|
this.sotrId = this.actions.find(item => {
|
|
|
return item.id;
|
|
|
});
|
|
|
@@ -408,7 +407,7 @@ export default {
|
|
|
this.imagesList.push({ ...file, url: res });
|
|
|
this.images = [...this.imagesList];
|
|
|
this.imageUrls.push(res);
|
|
|
- console.log(this.images);
|
|
|
+ // console.log(this.images);
|
|
|
})
|
|
|
.catch(e => {
|
|
|
this.hideLoading();
|
|
|
@@ -455,17 +454,10 @@ export default {
|
|
|
});
|
|
|
return;
|
|
|
}
|
|
|
- // if (this.images.length == 0) {
|
|
|
- // wx.showToast({
|
|
|
- // icon: 'none',
|
|
|
- // title: '请添加图片'
|
|
|
- // });
|
|
|
- // return;
|
|
|
- // }
|
|
|
- if (this.form.groupDTOS.length == 0) {
|
|
|
+ if (this.imageUrls.length == 0) {
|
|
|
wx.showToast({
|
|
|
icon: 'none',
|
|
|
- title: '请添加卡包'
|
|
|
+ title: '请添加图片'
|
|
|
});
|
|
|
return;
|
|
|
}
|
|
|
@@ -480,7 +472,7 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
.then(res => {
|
|
|
- console.log(res);
|
|
|
+ // console.log(res);
|
|
|
this.id = res.id;
|
|
|
this.hideLoading();
|
|
|
this.form = {
|