Browse Source

收费修改

wolyshaw 3 năm trước cách đây
mục cha
commit
806ecc23fe
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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) {