Commit a30eea22 authored by 黄奎's avatar 黄奎

页面修改

parent 1306a70e
......@@ -70,8 +70,7 @@
})
return;
}
let scmAccount = this.getLocalStorage();
this.scmAccount = scmAccount;
this.scmAccount = this.getLocalStorage();
},
watch: {
$route() {
......@@ -112,7 +111,11 @@
//点击弹出框
showUpdateBoard() {
this.$parent.showBoard();
},
refreshHeadImg() {
this.scmAccount = this.getLocalStorage();
}
},
}
......
......@@ -22,7 +22,7 @@
<template>
<div class="App">
<div class="nav">
<Nav></Nav>
<Nav ref="Nav"></Nav>
</div>
<div class="appContent">
<div class="routerContent">
......@@ -133,6 +133,7 @@
let user = response.data.data;
var userJson = JSON.stringify(user);
localStorage.scmAccount = userJson;
this.$refs.Nav.refreshHeadImg();
} else {
this.Error(response.data.message);
}
......
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