wolyshaw пре 3 година
родитељ
комит
806ecc23fe
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/teacher/music/upload/index.tsx

+ 1 - 1
src/teacher/music/upload/index.tsx

@@ -146,7 +146,7 @@ export default defineComponent({
     async setDetail(id: string) {
       try {
         const res = await request.get('/api-teacher/music/sheet/detail/' + id)
-        this.chargeType = res.data.chargeType === 'FREE' ? 0 : 1
+        this.chargeType = res.data.chargeType === 'FREE' ? 0 : 2
         this.showFingering = res.data.showFingering
         this.canEvaluate = res.data.canEvaluate
         if (this.chargeType) {