|
@@ -49,6 +49,7 @@
|
|
|
</template>
|
|
|
<script>
|
|
|
import { quitMusicGroup } from '@/api/journal'
|
|
|
+import cleanDeep from 'clean-deep'
|
|
|
export default {
|
|
|
props: ['detail'],
|
|
|
data() {
|
|
@@ -88,10 +89,10 @@ export default {
|
|
|
await this.$confirm("是否确定提交?", "提示", {
|
|
|
type: 'warning',
|
|
|
})
|
|
|
- await quitMusicGroup({
|
|
|
+ await quitMusicGroup(cleanDeep({
|
|
|
id: this.detail.id,
|
|
|
...this.quitForm
|
|
|
- })
|
|
|
+ }))
|
|
|
this.$emit('close')
|
|
|
this.$emit('submited')
|
|
|
this.$message.success("提交成功")
|