소스 검색

去掉效验

skyblued 2 년 전
부모
커밋
ea7eef5d67
1개의 변경된 파일0개의 추가작업 그리고 26개의 파일을 삭제
  1. 0 26
      src/views/accompany/music-list.tsx

+ 0 - 26
src/views/accompany/music-list.tsx

@@ -143,34 +143,8 @@ export default defineComponent({
     }
     //进入云教练
     const openView = (item: any) => {
-      // 学生端验证
-      if (state.platformType == 'STUDENT') {
-        //学生有待激活会员
-        if (!userInfo.value.membershipDays && userInfo.value.purchaseMemberRecord) {
-          showConfirmDialog({
-            message: '您的团练宝暂未激活,请激活后使用'
-          }).then(() => {
-            router.push({
-              path: '/memberCenter'
-            })
-          })
-          return
-        }
-        //学生没有会员
-        if (!userInfo.value.vipMember) {
-          showConfirmDialog({
-            message: '您暂未开通团练宝,请开通后使用'
-          }).then(() => {
-            router.push({
-              path: '/memberCenter'
-            })
-          })
-          return
-        }
-      }
 
       let src = `${location.origin}/orchestra-music-score/?id=${item.id}`
-      console.log('🚀 ~ 去云教练的src', src)
       postMessage({
         api: 'openAccompanyWebView',
         content: {