修复bug,未登录时不校验实名状态

This commit is contained in:
2026-06-03 15:31:22 +08:00
parent a82c8da013
commit ff60913b5b
10 changed files with 33 additions and 2 deletions

View File

@@ -90,6 +90,8 @@
},
methods: {
checkOaAuth() {
const token = this.$getToken()
if (!token) return
const userInfo = uni.getStorageSync('userInfo')
if (!userInfo || !userInfo.oaAuth) {
uni.showModal({

View File

@@ -89,6 +89,8 @@
// ❌ 已删除冲突的 onReachBottom
methods: {
checkOaAuth() {
const token = this.$getToken()
if (!token) return
const userInfo = uni.getStorageSync('userInfo')
if (!userInfo || !userInfo.oaAuth) {
uni.showModal({