Commit 2b5e4fc1 by ym

map

1 parent 4d5370db
...@@ -78,17 +78,10 @@ export default { ...@@ -78,17 +78,10 @@ export default {
this.appHide(); this.appHide();
this.getCardInfo(); this.getCardInfo();
const ua = navigator.userAgent.toLowerCase() const ua = navigator.userAgent.toLowerCase()
if (ua.match(/MicroMessenger/i) == "micromessenger") {
let goods = JSON.parse(sessionStorage.getItem("GL_GOODS_INFO")); let goods = JSON.parse(sessionStorage.getItem("GL_GOODS_INFO"));
this.brandName = goods.brandName; this.brandName = goods.brandName;
document.title = this.brandName; document.title = this.brandName;
this.supplier = goods.supplier; this.supplier = goods.supplier;
} else {
let params = this.getParams(window.location.href);
this.supplier = params.supplier;
this.brandName = decodeURI(params.brandName);
document.title = decodeURI(params.brandName);
}
console.log(goods.brandName,this.brandName) console.log(goods.brandName,this.brandName)
this.showLoading(); this.showLoading();
let para = { let para = {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!