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) {