Browse Source

feat: 人脉无权限跳转大会员落地页

cuiyalong 9 months ago
parent
commit
082f428607

+ 3 - 2
apps/bigmember_pc/src/views/article-content/composables/useContentStore.js

@@ -7,7 +7,6 @@ import {
   ajaxGetContentOtherInfo
 } from '@/api/modules/detail'
 import { getUserResource } from '@/api/modules/bi'
-import { showToast } from '@/components/toast'
 
 function setPageTDK({ title, description, keywords }) {
   const descriptionDOM
@@ -151,7 +150,9 @@ function useRenMaiModel(ContentModel) {
     }
     else {
       // 弹窗
-      showToast('暂无权限')
+      // showToast('暂无权限')
+      // 跳转大会员落地页
+      window.open('/big/page/index')
     }
   }
 

+ 3 - 1
apps/mobile/src/views/article/components/ContentHeader.vue

@@ -150,7 +150,9 @@ export default {
         })
       } else {
         // 弹窗
-        this.$toast('暂无权限')
+        // this.$toast('暂无权限')
+        // 跳转大会员落地页
+        openAppOrWxPage(LINKS.大会员落地页面)
       }
     }
   }