Commit f72a36f1 authored by Damon's avatar Damon

merge

parents 369bd8b1 b808cf47
......@@ -173,18 +173,20 @@
}
this.$u.route({url: "pages/login/index"})
},
logout() {
app.setUserData({}, this)
app.globalData.logout = true
},
handleSuperButton() {
this.$u.route({url: 'pages/mine/superLogin/index'})
},
async allowLogin() {
let res = await this.$u.api.allowLogin()
console.log(res)
if (res) {
this.showSuperButton = res.code == 200
if (res && res.code == 200 && res.data) {
this.showSuperButton = res.data.data
}
},
logout() {
app.setUserData({}, this)
app.globalData.logout = true
},
handleSuperButton() {
this.$u.route({url: 'pages/mine/superLogin/index'})
}
......
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