Prechádzať zdrojové kódy

feat: 更新商品详情页的权限检查逻辑;将微信代理兑换权限修改为商城兑换权限

EvilDragon 1 mesiac pred
rodič
commit
4126a8629a

+ 1 - 1
packages/app/src/pages/home/spread/product-detail/index.vue

@@ -153,7 +153,7 @@ onLoad(async (query: { id: string; title: string; item: string }) => {
         <div class="flex-1"></div>
         <div
           @click="
-            clickByPermission('wechatAgentExchange', () => {
+            clickByPermission('mallExchange', () => {
               show = true
               type = 'orderNow'
             })