后台上传视频

master
lion 2 years ago
parent 90434ca0c9
commit cb56fab956

@ -216,7 +216,8 @@ import { index as menulist} from "@/api/index";
} else {
this.id = ''
this.detail.id = ''
this.type = ''
this.type = ''
this.fileList = []
this.$refs['tinymce'].setContent(' ')
this.$refs['addActivity'].reset()
}
@ -321,7 +322,8 @@ import { index as menulist} from "@/api/index";
let res = await show({
id: this.id
})
Object.assign(this.detail, res);
Object.assign(this.detail, res);
this.fileList.push({name:res.audio_file,url:res.audio_file})
this.loadMenu()
this.$refs['tinymce'].setContent(res.text ?? ' ')
},

Loading…
Cancel
Save