Commit 92c423be by 李嘉林

代码还原

parent 7a6ada7c
......@@ -30,8 +30,7 @@ export default {
return {
link: process.env.BASE_URL,
page: "/",
// params: "?mixid=" + this.$store.state.mixid,
params: "",
params: "?mixid=" + this.$store.state.mixid,
ss: "",
timestamp:"",
isMiniPage : false,
......@@ -41,9 +40,9 @@ export default {
computed: {
pageUrl() {
console.log(this.link,'******',this.page,'-------',this.params,'++++++++')
let pageUrl = this.page.startsWith("http") ? this.page : (this.link + this.page);
return (
pageUrl +
this.link +
this.page +
this.params +
`&native_test=1&tabbar=${this.index}&location_obj=${wx.getStorageSync(
"location"
......@@ -56,7 +55,6 @@ export default {
console.log('--onLoad')
let tabIndex = this.index>=this.mpApp.globalData.footerVal.componentData.list.length?this.mpApp.globalData.footerVal.componentData.list.length-1:this.index;
this.params = this.$options.data.call(this).params
console.log(options,'---------------onLoad--params')
let ss = wx.getStorageSync("sessionid");
this.ss = ss ? `&sessionid=${ss}` : "";
......@@ -83,12 +81,8 @@ export default {
console.log(query,'==================', this.params,'-----------------',urlPrams)
// // 只兼容底部导航进入活动页面添加参数,跳转完成删除
if(query){
if(this.params) {
this.params+='&'+query
} else {
this.params+='?'+query
}
} else {
this.params+=urlPrams?'&'+urlPrams:''
}
}
......
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