优化登录的逻辑,

This commit is contained in:
gaoxs
2020-03-18 19:01:12 +08:00
parent 1b507e7396
commit 4cc4c60a87
18 changed files with 1222 additions and 1183 deletions

View File

@ -254,6 +254,9 @@ export default {
},
mounted: function() {
let that = this;
uni.showLoading({
title:'加载中'
})
getHomeData().then(res => {
that.logoUrl = res.data.logoUrl;
that.$set(that, "banner", res.data.banner);
@ -269,6 +272,7 @@ export default {
that.$set(that, "lovely", res.data.lovely);
that.$set(that, "benefit", res.data.benefit);
that.$set(that, "couponList", res.data.couponList);
uni.hideLoading()
that.setOpenShare();
});
},