Commit 89c7e6ea by chengzhichun

客户地址问题

parent 9097bc79
......@@ -15,6 +15,7 @@
import {
getUrlofLink,
checkTabbarPage,
getUrlofQuery
} from "../utils/mayi.js";
import { serialize} from "@/utils/index";
......@@ -31,7 +32,8 @@ export default {
page: "/",
params: "?mixid=" + this.$store.state.mixid,
ss: "",
timestamp:""
timestamp:"",
isMiniPage : false
};
},
computed: {
......@@ -48,6 +50,7 @@ export default {
},
},
onLoad(options) {
let ss = wx.getStorageSync("sessionid");
this.ss = ss ? `&sessionid=${ss}` : "";
......@@ -68,6 +71,15 @@ export default {
let query=serialize(options)
this.params+=query?'&'+query:''
}
let reg = /^\/pages\//;
console.log(this.pageUrl,'pageUrl======================',this.mpApp.globalData.footerVal.componentData.list[this.index].link)
if (this.mpApp.globalData.footerVal.componentData.list[this.index].link) {
if(reg.test(this.mpApp.globalData.footerVal.componentData.list[this.index].link.link)){
wx.reLaunch({
url: this.mpApp.globalData.footerVal.componentData.list[this.index].link.link,
});
}
}
},
methods: {
handleError(data) {
......
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