|
@@ -186,20 +186,21 @@ export default {
|
|
const sortBean = this.form.list[sort];
|
|
const sortBean = this.form.list[sort];
|
|
this.form.list[row] = sortBean;
|
|
this.form.list[row] = sortBean;
|
|
this.form.list[sort] = rowBean;
|
|
this.form.list[sort] = rowBean;
|
|
|
|
+ this.form.list = this.form.list.filter((i) => i);
|
|
|
|
|
|
- this.form.audioList = [];
|
|
|
|
- this.form.list.map((i) => {
|
|
|
|
- this.form.audioList.push({
|
|
|
|
- audioId: i.audioId,
|
|
|
|
- audioType: i.audioType,
|
|
|
|
- });
|
|
|
|
- });
|
|
|
|
- edit(this.form).then((res) => {
|
|
|
|
- if (res.code === 0) {
|
|
|
|
- this.$message.success("修改成功!");
|
|
|
|
- this.getDetail();
|
|
|
|
- }
|
|
|
|
- });
|
|
|
|
|
|
+ // this.form.audioList = [];
|
|
|
|
+ // this.form.list.map((i) => {
|
|
|
|
+ // this.form.audioList.push({
|
|
|
|
+ // audioId: i.audioId,
|
|
|
|
+ // audioType: i.audioType,
|
|
|
|
+ // });
|
|
|
|
+ // });
|
|
|
|
+ // edit(this.form).then((res) => {
|
|
|
|
+ // if (res.code === 0) {
|
|
|
|
+ // this.$message.success("修改成功!");
|
|
|
|
+ // this.getDetail();
|
|
|
|
+ // }
|
|
|
|
+ // });
|
|
},
|
|
},
|
|
|
|
|
|
// 频道详情
|
|
// 频道详情
|