|
@@ -316,7 +316,7 @@ export default {
|
|
|
} else {
|
|
|
this.ids.map(i => {
|
|
|
this.form.adminPodCastProgramDetailResp.map((j, index) => {
|
|
|
- if(j.id === i) {
|
|
|
+ if (j.id === i) {
|
|
|
this.form.adminPodCastProgramDetailResp.splice(index, 1)
|
|
|
this.$message.success('解除成功!')
|
|
|
}
|
|
@@ -334,11 +334,11 @@ export default {
|
|
|
this.form.adminPodCastProgramDetailResp.map(i => {
|
|
|
this.form.podcastProgramIds.push(i.id)
|
|
|
})
|
|
|
- delete this.form.adminPodCastProgramDetailResp
|
|
|
submit(this.form).then(res => {
|
|
|
if (res.code === 0) {
|
|
|
this.$message.success(`${title}`)
|
|
|
if (this.form.id) {
|
|
|
+ delete this.form.adminPodCastProgramDetailResp
|
|
|
this.getDetail()
|
|
|
} else {
|
|
|
this.cancel()
|