事件上报

This commit is contained in:
liuye
2024-07-18 17:38:55 +08:00
parent 7dec8870b9
commit feb0782b5c
2 changed files with 4 additions and 3 deletions

View File

@@ -142,10 +142,11 @@ export const user = {
}
uni.navigateTo({url: modulePath});
} else if (checkType == 5) {
if (!userInfo.girdInfos2G.length) {
if (userInfo.girdInfos2G && userInfo.girdInfos2G.length) {
uni.navigateTo({url: modulePath});
}else {
return uni.showToast({title: "您还不是网格员,暂时无法使用该功能", icon: "none"});
}
uni.navigateTo({url: modulePath});
}
}
}

View File

@@ -32,7 +32,7 @@ export default {
customNavigation: true,
data() {
return {
component: 'Statistics',
component: 'List',
params: {},
refresh: true,
tabIndex: 0,