注释掉token

This commit is contained in:
zhouyanli
2026-04-27 14:16:45 +08:00
parent d4ebf2bff5
commit 855bb47ec7

View File

@@ -269,7 +269,7 @@ onLoad(() => {
uni.$on('confirm', slelctHomeData) uni.$on('confirm', slelctHomeData)
// 页面加载时先判断是否有token有则获取认证小区 // 页面加载时先判断是否有token有则获取认证小区
const token = uni.getStorageSync('token') || ''; // const token = uni.getStorageSync('token') || '';
const currentVillageId = uni.getStorageSync('currentVillageId'); const currentVillageId = uni.getStorageSync('currentVillageId');
if (token && currentVillageId && currentVillageId !== '0' && currentVillageId !== 0) { if (token && currentVillageId && currentVillageId !== '0' && currentVillageId !== 0) {
getCurrentCommunityData(); // 加载时获取认证小区 getCurrentCommunityData(); // 加载时获取认证小区