Commit f25fa410 by 张卓

Merge branch 'product_dev' of http://code.mayi888.com/chengmo/mayi-mp-shop into product_dev

parents 3473488f a1386757
......@@ -272,7 +272,6 @@ export default {
// var query = options.query.dentistId; // 参数二维码传递过来的场景参数
}
console.log("url", this.link + this.page + this.params);
this.getSpokesman();
this.init();
},
onShow() {
......@@ -408,15 +407,8 @@ export default {
onUnload() {
console.log("卸载----------------", this.options);
},
onShareAppMessage(res) {
console.log(res)
console.log(
this.shareShopName,
"share",
res.webViewUrl,
"0000",
this.shareLogoUrl
);
async onShareAppMessage(res) {
await this.getSpokesman();
let url = ''
console.log(this.newWindowHref + 'this.newWindowHref')
//分享路径
......
......@@ -81,7 +81,7 @@ export default {
console.log('wxPay',res.data)
payData.success = res => {
console.log("支付成功", res, this.options);
this.message = "支付成功";
const orderSn = this.options.orderSn;
let vm = this
......@@ -110,6 +110,7 @@ export default {
console.log("message success response: ", res);
},
fail(res) {
fn(vm)
console.log("message fail response: ", res)
}
})
......@@ -125,7 +126,7 @@ export default {
console.error("subscribeMessage-err", err);
}
function fn(_this){
_this.message = "支付成功";
// _this.message = "支付成功";
if(!_this.options_isCard){
let query;
if(_this.batchNumber){
......
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