Commit 8a50f9af authored by liwei's avatar liwei

修改了登录页面

parent 729ee8ad
......@@ -269,13 +269,13 @@ import {articleList, getOssUrl, userArticleList} from "../../api/article";
this.nologin = true
//token不存在,未登录,跳转到登录页面进行登录
// 获取openId
// this.usersLogin().catch(res => {
// console.log("登录错误信息", res)
// //初始化登录错误
// this.initLoginError = true
// // 关闭加载
// uni.hideLoading()
// })
this.usersLogin().catch(res => {
console.log("登录错误信息", res)
//初始化登录错误
this.initLoginError = true
// 关闭加载
uni.hideLoading()
})
}
this.articleImg = []
},
......
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