From e3c2cd23253f3501be7d31e03955fbb6f4aa3556 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Fri, 15 May 2026 16:30:04 +0800
Subject: [PATCH] Merge branch 'refs/heads/feature/v9.0/9.0.4' into prod
---
src/hooks/use-permission/index.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/hooks/use-permission/index.js b/src/hooks/use-permission/index.js
index 86060c1..dc2621d 100644
--- a/src/hooks/use-permission/index.js
+++ b/src/hooks/use-permission/index.js
@@ -5,6 +5,6 @@
// 1.微信小程序端点击tabbar的底层逻辑不触发uni.switchTab
// 2.h5在浏览器地址栏输入url后跳转不触发uni的路由api
// 3.首次启动加载的页面不触发uni的路由api
-export default async function usePermission() {
+export default async function usePermission () {
return hasPerm(currentRoute())
}
--
Gitblit v1.9.3