From 1c422f54367aba576b34b6961d442a1a087e4fe6 Mon Sep 17 00:00:00 2001 From: Agent Date: Thu, 2 Apr 2026 13:13:06 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E9=99=A4=E5=95=86=E5=93=81?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E9=A1=B5=E9=9D=A2=E6=9D=83=E9=99=90=E9=99=90?= =?UTF-8?q?=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/product/manage.vue | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/pages/product/manage.vue b/src/pages/product/manage.vue index 03d5209..7efbb52 100644 --- a/src/pages/product/manage.vue +++ b/src/pages/product/manage.vue @@ -165,11 +165,7 @@ export default { } }, onLoad(options) { - if (!canManageProduct()) { - uni.showToast({ title: '无权限', icon: 'none' }) - uni.navigateBack() - return - } + // 移除权限检查,允许所有用户访问 this.loadCategories() this.loadProducts() // 如果传入了 productId,则打开编辑弹窗