mo %!s(int64=2) %!d(string=hai) anos
pai
achega
87fc32641b
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  1. 10 0
      src/views/muiscDetial/index.tsx

+ 10 - 0
src/views/muiscDetial/index.tsx

@@ -184,6 +184,16 @@ export default defineComponent({
         )
         res.data.paymentType = res.data.paymentType.split(',')
         state.musicDetail = res.data
+        state.musicDetail.notation
+          ? (state.musicTypeList = [
+              { label: '五线谱', value: 'staff', image: staffDetafult },
+              { label: '首调', value: 'first', image: firstDefault },
+              { label: '固定调', value: 'fixed', image: fixedDefault }
+            ])
+          : (state.musicTypeList = [
+              { label: '五线谱', value: 'staff', image: staffDetafult }
+            ])
+        // musicTypeList
         state.musicList = res.data.teacher.musicSheetList
         state.subjectList = res.data.background
         state.tagList = res.data.musicTagNames