flat: 修改天地图

This commit is contained in:
Apcallover
2024-07-22 15:12:17 +08:00
parent 85aaeacd2b
commit 9fe5c37292
4 changed files with 23 additions and 19 deletions

View File

@@ -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) {
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('请输入基本信息')
})
}
})
this.IsResume = false
}
},
onReady() {
uni.setNavigationBarTitle({