修复bug以及优化

This commit is contained in:
2026-06-02 16:23:56 +08:00
parent 5cc680f26d
commit a82c8da013
17 changed files with 529 additions and 110 deletions

View File

@@ -67,6 +67,20 @@
};
},
methods: {
checkOaAuth() {
const userInfo = uni.getStorageSync('userInfo')
if (!userInfo || !userInfo.oaAuth) {
uni.showModal({
title: '提示',
content: '您还未实名认证,请先完成实名认证',
showCancel: false,
confirmText: '去认证',
success: () => {
uni.redirectTo({ url: '/pages-biz/profile/profile' })
}
})
}
},
// 👇 你的方法 1 行没改
statusText(status) {
switch (status) {
@@ -161,6 +175,7 @@
},
onShow() {
this.$checkToken(this.$getToken())
this.checkOaAuth()
},
onLoad() {
this.fetchApplys()