fix bug 4746
This commit is contained in:
@@ -29,7 +29,7 @@
|
|||||||
<div class="content" id="app">
|
<div class="content" id="app">
|
||||||
<div class="list-block media-list">
|
<div class="list-block media-list">
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li v-show="showPass">
|
||||||
<a onclick="clicked('/views/user/updatePass.html',true);" class="item-link item-content">
|
<a onclick="clicked('/views/user/updatePass.html',true);" class="item-link item-content">
|
||||||
<div class="item-inner">
|
<div class="item-inner">
|
||||||
<div class="item-title-row">
|
<div class="item-title-row">
|
||||||
@@ -87,12 +87,14 @@ new Vue({
|
|||||||
el: '#app',
|
el: '#app',
|
||||||
data: {
|
data: {
|
||||||
showLogin:false,
|
showLogin:false,
|
||||||
showLogout:false
|
showLogout:false,
|
||||||
|
showPass:false
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
if (localStorage.getItem("user_token") == null || localStorage.getItem("user_token") == "") {
|
if (localStorage.getItem("user_token") == null || localStorage.getItem("user_token") == "") {
|
||||||
this.showLogin = true;
|
this.showLogin = true;
|
||||||
} else {
|
} else {
|
||||||
|
this.showPass = true;
|
||||||
this.showLogout = true;
|
this.showLogout = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user