update login.vue

This commit is contained in:
linfeng 2023-03-26 10:49:18 +08:00
parent 329e383dbe
commit 1cae7d7a17
2 changed files with 3 additions and 4 deletions

View File

@ -27,12 +27,11 @@
}, },
data() { data() {
return { return {
sessionUid: uni.getStorageSync('userInfo').uid,
loadStatus1: 'loadmore', loadStatus1: 'loadmore',
loadStatus2: 'loadmore', loadStatus2: 'loadmore',
page1: 1, page1: 1,
page2: 1, page2: 1,
shareCover: '', shareCover: '',//
followUserPost: [], followUserPost: [],
lastPost: [], lastPost: [],
tabList: [{ tabList: [{

View File

@ -67,10 +67,10 @@
mobile: this.form.mobile mobile: this.form.mobile
}).then(res => { }).then(res => {
if (res.code == 0) { if (res.code == 0) {
uni.hideLoading();
this.$refs.uCode.start(); this.$refs.uCode.start();
this.$u.toast(res.msg);
} }
this.$u.toast(res.msg);
uni.hideLoading();
}) })
} else { } else {
this.$u.toast('倒计时结束后再发送'); this.$u.toast('倒计时结束后再发送');