소스 검색

收费修改

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