TIANYONG hai 2 semanas
pai
achega
96f55224fe
Modificáronse 2 ficheiros con 6 adicións e 1 borrados
  1. 1 1
      osmd-extended
  2. 5 0
      src/page-instrument/api.ts

+ 1 - 1
osmd-extended

@@ -1 +1 @@
-Subproject commit 626c8e581c9a052c9f245676e171cdb483c86463
+Subproject commit 8646ea65db6520df8fe8d5d180d5c9dcf634e2b2

+ 5 - 0
src/page-instrument/api.ts

@@ -50,6 +50,11 @@ export const studentQueryUserInfo = async () => {
         id:data.id,
         gender:""
       }
+      if (res.data.specialInstrumentIds.length > 1 && data.extInstrumentNames?.length) {
+        data.extInstrumentNames.forEach((ext: any) => {
+          res.data.specialInstrumentIds.push(ext.instrumentIds)
+        })
+      }
       return res
     }
   } catch (error) {