add logout prompt?
This commit is contained in:
parent
462d77fc1e
commit
2523498a37
2 changed files with 7 additions and 6 deletions
|
@ -895,8 +895,11 @@ const app = new Vue({
|
|||
less.refresh()
|
||||
},
|
||||
unauthorize() {
|
||||
this.mk.unauthorize()
|
||||
document.location.reload()
|
||||
bootbox.confirm(app.getLz('term.confirmLogout'), function(result){
|
||||
if (result){
|
||||
app.mk.unauthorize()
|
||||
document.location.reload()}
|
||||
});
|
||||
},
|
||||
getAppClasses() {
|
||||
let classes = {}
|
||||
|
@ -2375,9 +2378,6 @@ const app = new Vue({
|
|||
}, 13000)
|
||||
})
|
||||
},
|
||||
unauthorize() {
|
||||
this.mk.unauthorize()
|
||||
},
|
||||
showSearch() {
|
||||
this.page = "search"
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue