Commit 9097bc79 by chengzhichun

小程序自定义链接跳转到公众号页

parent 2376f8c7
......@@ -312,6 +312,7 @@ export default {
// 是否跳转h5或小程序
pushPageType(){
//绑定上下级关系
console.log(this.scene,'this.scene====',this.backPath)
app.fenxiaoModel.becomeRelation(wx.getStorageSync("becomeInfo")?JSON.parse(wx.getStorageSync("becomeInfo")):'').then(res=>{
if(res) {
wx.removeStorage({
......@@ -319,7 +320,12 @@ export default {
});
}
})
if(this.fromType=='mini'){
if(this.backPath.includes('/pages/')){
wx.reLaunch({
url: this.backPath
});
}else if(this.fromType=='mini'){
wx.navigateBack({
delta: 1
});
......
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