Page style update

This commit is contained in:
Vion
2022-01-22 15:21:17 +08:00
parent debf618d7e
commit 011a9b2c58
6 changed files with 49 additions and 50 deletions

View File

@@ -346,6 +346,7 @@
</div>
</template>
<script>
import { mapMutations } from "vuex";
export default {
data() {
return {
@@ -358,13 +359,12 @@ export default {
},
mounted() {
//判断用户有无登录显示红点
let usernot=JSON.parse(localStorage.getItem("userInfo"));
let usernot=this.checkIsLogin();
//console.log(usernot);
if(usernot==null ||usernot==undefined){
console.log(usernot);
this.loginornot=true
if(usernot){
this.loginornot=true
}else{
this.loginornot=false
this.loginornot=false
this.usermessage=usernot;
}
//debugger;
@@ -390,6 +390,7 @@ export default {
},
methods: {
...mapMutations(["checkIsLogin"]),
refreshDesktopNav:function(){
RCDL.navigation.currentState=null;
RCDL.navigation.rebuild();