Commit 02f16aed authored by 刘用法's avatar 刘用法

超级用户获取权限

parent ba8defe2
......@@ -182,8 +182,8 @@
},
async allowLogin() {
let res = await this.$u.api.allowLogin()
if (res && res.code == 200 && res.data) {
this.showSuperButton = res.data.data === true
if (res && res.code == 200) {
this.showSuperButton = res.data === true
}
},
......
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