소스 검색

fix 展演

wolyshaw 4 년 전
부모
커밋
b614430eee
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/views/resetTeaming/components/archicesComponents/modals/performance-form.vue

+ 2 - 2
src/views/resetTeaming/components/archicesComponents/modals/performance-form.vue

@@ -91,12 +91,12 @@ export default {
           try {
             const {songs, ...rest} = this.form
             if (this.detail) {
-              await musicGroupPerformanceUpdate([{
+              await musicGroupPerformanceUpdate({
                 ...rest,
                 musicScoreNames: songs,
                 musicGroupId: this.$route.query.id,
                 id: this.detail.id
-              }])
+              })
               this.$message.success('修改成功')
             } else {
               await musicGroupPerformanceAdd({