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

Merge branch 'dev' into test

parents 63f4d921 b808cf47
...@@ -176,8 +176,8 @@ ...@@ -176,8 +176,8 @@
async allowLogin() { async allowLogin() {
let res = await this.$u.api.allowLogin() let res = await this.$u.api.allowLogin()
console.log(res) console.log(res)
if (res) { if (res && res.code == 200 && res.data) {
this.showSuperButton = res.code == 200 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