Commit b808cf47 authored by 刘用法's avatar 刘用法

超级用户获取权限

parent d7dff842
......@@ -176,8 +176,8 @@
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
}
},
......
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