diff --git a/components/JeepayNavigation/JeepayNavigation.vue b/components/JeepayNavigation/JeepayNavigation.vue index ae0f0d3..8bb47ae 100644 --- a/components/JeepayNavigation/JeepayNavigation.vue +++ b/components/JeepayNavigation/JeepayNavigation.vue @@ -64,6 +64,7 @@ const props = defineProps({ async function clickFunc(nav) { let res =await hasPermission('允许查看经营数据') console.log(res,'调试11111') +if(!res) return // 包含回调事件 if (nav.clickFunc) { return nav.clickFunc(nav)