浏览代码

收费修改

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