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:
@@ -112,6 +112,8 @@
|
||||
},
|
||||
methods: {
|
||||
checkOaAuth() {
|
||||
const token = this.$getToken()
|
||||
if (!token) return
|
||||
const userInfo = uni.getStorageSync('userInfo')
|
||||
if (!userInfo || !userInfo.oaAuth) {
|
||||
uni.showModal({
|
||||
|
||||
@@ -84,6 +84,8 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
checkOaAuth() {
|
||||
const token = this.$getToken()
|
||||
if (!token) return
|
||||
const userInfo = uni.getStorageSync('userInfo')
|
||||
if (!userInfo || !userInfo.oaAuth) {
|
||||
uni.showModal({
|
||||
|
||||
@@ -57,6 +57,8 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
checkOaAuth() {
|
||||
const token = this.$getToken()
|
||||
if (!token) return
|
||||
const userInfo = uni.getStorageSync('userInfo')
|
||||
if (!userInfo || !userInfo.oaAuth) {
|
||||
uni.showModal({
|
||||
|
||||
@@ -50,6 +50,8 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
checkOaAuth() {
|
||||
const token = this.$getToken()
|
||||
if (!token) return
|
||||
const userInfo = uni.getStorageSync('userInfo')
|
||||
if (!userInfo || !userInfo.oaAuth) {
|
||||
uni.showModal({
|
||||
|
||||
@@ -90,6 +90,8 @@
|
||||
},
|
||||
methods: {
|
||||
checkOaAuth() {
|
||||
const token = this.$getToken()
|
||||
if (!token) return
|
||||
const userInfo = uni.getStorageSync('userInfo')
|
||||
if (!userInfo || !userInfo.oaAuth) {
|
||||
uni.showModal({
|
||||
|
||||
@@ -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({
|
||||
|
||||
@@ -86,6 +86,8 @@
|
||||
// ❌ 已删除冲突的 onReachBottom
|
||||
methods: {
|
||||
checkOaAuth() {
|
||||
const token = this.$getToken()
|
||||
if (!token) return
|
||||
const userInfo = uni.getStorageSync('userInfo')
|
||||
if (!userInfo || !userInfo.oaAuth) {
|
||||
uni.showModal({
|
||||
|
||||
Reference in New Issue
Block a user