Browse Source

fix 展演

wolyshaw 3 years ago
parent
commit
b614430eee

+ 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({