Commit 7f6ad436 by 匡雅琴

全局loading添加

1 parent fe2f40ab
......@@ -86,9 +86,11 @@ Page({
*/
onLoad(options) {
console.log(this.data.hasUserInfo);
wx.$util.showLoading('加载中...')
getApp()
.login()
.then(({ data }) => {
wx.hideLoading()
console.log(data);
if (data) {
this.setData({
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!