flat:登录调用顺序

This commit is contained in:
Apcallover
2024-07-24 14:45:29 +08:00
parent 23aaa5a4ab
commit ba14872e89
3 changed files with 222 additions and 215 deletions

View File

@@ -191,16 +191,16 @@
</view>
</view>
<view class="info_market">
<!-- <view class="info_market">
<view class="market_top">
<view class="top_log"></view>
<view class="next_market" @click="navTo('/pages/market/market')">去市场</view>
</view>
<!-- <view class="market_bottom">
<view class="market_bottom">
<view>了解市场<u-icon name="arrow-right" color="#666666" size="13"></u-icon></view>
<view>我要咨询<u-icon name="arrow-right" color="#666666" size="13"></u-icon></view>
</view> -->
</view>
</view>
</view> -->
<view class="latestMission">
<view class="cardTips"
@@ -289,18 +289,11 @@
policyContentList: [],
policyType: 1,
swiperType: 1,
isResume: true,
};
},
onLoad: function(options) {
myResume().then(res => {
const data = res.data.data
if (!(data.education && data.telephone && data.wage && data.workplace)) {
this.goures()
this.$api.sleep(1000).then(() => {
this.$api.msg('请输入基本信息')
})
}
})
},
onShow: function() {
if (!this.$store.state.user.token) {
@@ -319,6 +312,18 @@
this.download()
this.getSwiperList()
this.getPolicy()
if (this.isResume) {
this.isResume = false
myResume().then(res => {
const data = res.data.data
if (!(data.education && data.telephone && data.wage && data.workplace)) {
this.goures()
this.$api.sleep(1000).then(() => {
this.$api.msg('请输入基本信息')
})
}
})
}
},
onReady() {
uni.setNavigationBarTitle({