From 8430fb188619137084baf17410ab19c3f40bc60e Mon Sep 17 00:00:00 2001 From: Agent Date: Thu, 2 Apr 2026 13:08:16 +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 | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/pages/product/manage.vue b/src/pages/product/manage.vue index 03d5209..7211a19 100644 --- a/src/pages/product/manage.vue +++ b/src/pages/product/manage.vue @@ -165,11 +165,12 @@ export default { } }, onLoad(options) { - if (!canManageProduct()) { - uni.showToast({ title: '无权限', icon: 'none' }) - uni.navigateBack() - return - } + // 移除权限限制,允许所有用户访问 + // if (!canManageProduct()) { + // uni.showToast({ title: '无权限', icon: 'none' }) + // uni.navigateBack() + // return + // } this.loadCategories() this.loadProducts() // 如果传入了 productId,则打开编辑弹窗