Commit c785053c authored by Xuguangxing's avatar Xuguangxing

feat: 更改api地址

parent 51abda43
......@@ -301,7 +301,7 @@ export const isIOS = /iphone|ipad|ipod/.test(ua);
export const isAndroid = /android/.test(ua);
// 判断
export const appVersion = ua.match(/xyqb\/([\d|.]+)/);
export const appVersion = ua.match(/xyqb\/([\d|.]+)/) ? ua.match(/xyqb\/([\d|.]+)/)[1] : "7.7.00";
// 判断羊小咩环境
export const isXyqb = ua.match(/xyqb/i) == "xyqb";
......
......@@ -134,7 +134,10 @@ export default {
console.log(this.picUrl);
},
async setShareData() {
const [res] = await groupBuyApi.getGroupShareInfo(this.orderNo);
const [res, error] = await groupBuyApi.getGroupShareInfo(this.orderNo);
if (error) {
return this.$toast('获取分享数据失败');
}
this.sharePicData = res;
this.$refs.sharePic.createAndUploadPic();
},
......
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