Commit ff46b601 by 李嘉林

webview 过滤url重复参数

parent 42e37720
......@@ -5,6 +5,7 @@
</template>
<script>
let forUrlAddKey = require("mayi-front-tools/forUrlAddKey").default;
import spokesman from "@/api/spokesman.js";
import shop from "@/api/shop.js";
import indexApi from "@/api/index.js";
......@@ -59,8 +60,9 @@ export default {
if(wx.getStorageSync("sessionid")){
this.params +=`&sessionid=${wx.getStorageSync("sessionid")}`;
}
console.log(this.params,'-------------------------57')
return this.link+this.page+this.params;
let pageUrl = forUrlAddKey(decodeURIComponent(this.link+this.page+this.params));
// let pageUrl = this.link+this.page+this.params;
return pageUrl;
},
},
watch: {
......
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