Commit 7f84a931 by 李嘉林

更新

parent 12f35aa7
<template> <template>
<div class="article_container"> <div class="article_container" v-if="article">
<div class="richText"> <div class="richText">
<div class="title" v-if="article.title">{{article.title}}</div> <div class="title" v-if="article.title">{{article.title}}</div>
......
...@@ -33,6 +33,7 @@ export default { ...@@ -33,6 +33,7 @@ export default {
}); });
Object.assign(this.$data, this.$options.data()); //mpvue 的混合周期 使用小程序生命周期数据未初始化 Object.assign(this.$data, this.$options.data()); //mpvue 的混合周期 使用小程序生命周期数据未初始化
log.info("onload//", options); log.info("onload//", options);
console.log(options,'--onLoad-options')
if (options.batchNumber) { if (options.batchNumber) {
let ordercode = JSON.parse(options.ordercode); let ordercode = JSON.parse(options.ordercode);
ordercode.orderSn = ""; ordercode.orderSn = "";
...@@ -96,6 +97,7 @@ export default { ...@@ -96,6 +97,7 @@ export default {
this.message = "支付成功"; this.message = "支付成功";
const orderSn = this.options.orderSn; const orderSn = this.options.orderSn;
let vm = this; let vm = this;
console.log(res,'---------------支付成功')
try { try {
const subscribeMessageObj = this.$store.state const subscribeMessageObj = this.$store.state
...@@ -160,6 +162,7 @@ export default { ...@@ -160,6 +162,7 @@ export default {
} }
// sso场景(跳转第三方url) // sso场景(跳转第三方url)
if (_this.scene == "sso") { if (_this.scene == "sso") {
console.log(_this.backUrl,'----------pay--_this.backUrl')
setTimeout(() => { setTimeout(() => {
wx.redirectTo({ wx.redirectTo({
url: `../wxArticle/main?from=sso&link=${_this.backUrl}`, url: `../wxArticle/main?from=sso&link=${_this.backUrl}`,
......
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