注释掉token
This commit is contained in:
@@ -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(); // 加载时获取认证小区
|
||||||
|
|||||||
Reference in New Issue
Block a user