浏览代码

fix 展演

wolyshaw 3 年之前
父节点
当前提交
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({