Commit 89c7e6ea by chengzhichun

客户地址问题

parent 9097bc79
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
import { import {
getUrlofLink, getUrlofLink,
checkTabbarPage, checkTabbarPage,
getUrlofQuery
} from "../utils/mayi.js"; } from "../utils/mayi.js";
import { serialize} from "@/utils/index"; import { serialize} from "@/utils/index";
...@@ -31,7 +32,8 @@ export default { ...@@ -31,7 +32,8 @@ export default {
page: "/", page: "/",
params: "?mixid=" + this.$store.state.mixid, params: "?mixid=" + this.$store.state.mixid,
ss: "", ss: "",
timestamp:"" timestamp:"",
isMiniPage : false
}; };
}, },
computed: { computed: {
...@@ -48,6 +50,7 @@ export default { ...@@ -48,6 +50,7 @@ export default {
}, },
}, },
onLoad(options) { onLoad(options) {
let ss = wx.getStorageSync("sessionid"); let ss = wx.getStorageSync("sessionid");
this.ss = ss ? `&sessionid=${ss}` : ""; this.ss = ss ? `&sessionid=${ss}` : "";
...@@ -68,6 +71,15 @@ export default { ...@@ -68,6 +71,15 @@ export default {
let query=serialize(options) let query=serialize(options)
this.params+=query?'&'+query:'' 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: { methods: {
handleError(data) { 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