Rx goods supported / Product detail multi-specification added / "window" in fetch removed

This commit is contained in:
Vion
2022-01-22 19:20:04 +08:00
parent 79ff28e63d
commit c6267a73ee
10 changed files with 222 additions and 239 deletions

View File

@@ -358,8 +358,8 @@ export default {
created(){
},
mounted() {
//判断用户有无登录显示红点
let usernot=this.checkIsLogin();
this.checkIsLogin();
let usernot=this.$store.state.userInfo;
//console.log(usernot);
if(usernot){
this.loginornot=true
@@ -367,26 +367,10 @@ export default {
this.loginornot=false
this.usermessage=usernot;
}
//debugger;
if(isInitialized)
location.reload();
if(!isInitialized)
isInitialized=true;
//console.log(this.loginornot);
/*
if(RCDL && RCDL.utilities && RCDL.navigation && RCDL.navigation.rebuild)
{
if (["sm", "xs", "md-1"].includes(RCDL.utilities.breakpoints.values.width.current)) {
this.refreshMobileNav();
}
else
{
this.refreshDesktopNav();
}
}
*/
},
methods: {