Browse Source

Merge branch 'ponline'

lex-wxl 1 week ago
parent
commit
3ab43dc2b5
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/tenant/music/courseList/index.tsx

+ 4 - 0
src/tenant/music/courseList/index.tsx

@@ -283,6 +283,10 @@ export default defineComponent({
     })
     //  购买
     const onSubmit = async () => {
+      if(state.platformType === "TEACHER") {
+        Toast('请联系平台客服开通权限')
+        return
+      }
       const url =
         apiSuffix.value +
         '/tenantGroupAlbum/buyAlbumInfo?tenantGroupAlbumId=' +