Explorar o código

Update index.tsx

lex %!s(int64=2) %!d(string=hai) anos
pai
achega
e272fa0251
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  1. 10 0
      src/student/my-orchestra/index.tsx

+ 10 - 0
src/student/my-orchestra/index.tsx

@@ -79,7 +79,17 @@ export default defineComponent({
       })
     }
 
+    const getOrchestras = async () => {
+      try {
+        const { data } = await request.post('/api-student/orchestra/studentOrchestra', {})
+        console.log(data)
+      } catch {
+        //
+      }
+    }
+
     onMounted(() => {
+      getOrchestras()
       getList()
     })
     return () => (