fix bug 4746

This commit is contained in:
尹吉欢
2018-04-14 15:00:20 +08:00
parent 5f995c5447
commit e5a6938ba7
+4 -2
View File
@@ -29,7 +29,7 @@
<div class="content" id="app">
<div class="list-block media-list">
<ul>
<li>
<li v-show="showPass">
<a onclick="clicked('/views/user/updatePass.html',true);" class="item-link item-content">
<div class="item-inner">
<div class="item-title-row">
@@ -87,12 +87,14 @@ new Vue({
el: '#app',
data: {
showLogin:false,
showLogout:false
showLogout:false,
showPass:false
},
mounted() {
if (localStorage.getItem("user_token") == null || localStorage.getItem("user_token") == "") {
this.showLogin = true;
} else {
this.showPass = true;
this.showLogout = true;
}
}