mirror of
http://36.133.248.69:3088/admin/RentWeAppFront.git
synced 2026-06-07 06:22:27 +08:00
修复bug以及优化
This commit is contained in:
@@ -81,9 +81,24 @@
|
||||
},
|
||||
onShow() {
|
||||
this.$checkToken(this.$getToken())
|
||||
this.checkOaAuth()
|
||||
},
|
||||
// ❌ 已删除冲突的 onReachBottom
|
||||
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' })
|
||||
}
|
||||
})
|
||||
}
|
||||
},
|
||||
loadBills() {
|
||||
// ✅ 正确判断状态
|
||||
if (this.loadStatus !== 'more') return;
|
||||
|
||||
Reference in New Issue
Block a user