fix bug 4746
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user