Commit d77e7142 authored by Xuguangxing's avatar Xuguangxing

fix

parent c9e582dc
......@@ -59,9 +59,7 @@ export default {
return http.get(`${talosHost}/api/kdsp/playBill/getMakePicData?${qsString}`);
},
getGroupShareInfo(orderNo) {
return http.get(`${talosHost}/api/kdsp/groupShareInfo?orderNo=${orderNo}`, {
hideLoading: true
});
return http.get(`${talosHost}/api/kdsp/groupShareInfo?orderNo=${orderNo}`);
},
getPlayBillUrl(m) {
return http.get(`http://192.168.25.122/api/kdsp/playBill/getPlayBillUrl?m=${m}`);
......
......@@ -63,6 +63,7 @@ export default {
this.tipDialogMessage();
return;
}
this.$store.dispatch('change_loading', true);
this.type = type;
if (typeof shareInfo === 'object') {
this.sharePicData = shareInfo;
......@@ -109,9 +110,11 @@ export default {
async getGroupShareInfo(orderNo) {
try {
const [res] = await groupBuyApi.getGroupShareInfo(orderNo);
this.$store.dispatch('change_loading', true);
this.sharePicData = res;
this.$refs.sharePic.createAndUploadPic(this.sharePicData);
} catch (err) {
this.$store.dispatch('change_loading', false);
console.log(err);
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment