Browse Source

Update index.tsx

lex-wxl 3 tháng trước cách đây
mục cha
commit
4b582a3472
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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=' +