|
@@ -117,14 +117,18 @@ export default defineComponent({
|
|
|
this.form.audioType = res.data.audioType
|
|
|
this.form.musicSubject = Number(res.data.musicSubject)
|
|
|
|
|
|
- let musicTag = res.data.musicTag.split(',')
|
|
|
- musicTag = musicTag.filter((el: any) => {
|
|
|
+ const musicTag = res.data.musicTag.split(',')
|
|
|
+
|
|
|
+ const filterMusicTag = musicTag.filter((el: any) => {
|
|
|
return el != ''
|
|
|
})
|
|
|
- this.form.tags = musicTag.map((item: any) => {
|
|
|
+ this.form.tags = filterMusicTag.map((item: any) => {
|
|
|
+ return Number(item)
|
|
|
+ })
|
|
|
+
|
|
|
+ this.radioList = musicTag.map((item: any) => {
|
|
|
return Number(item)
|
|
|
})
|
|
|
- this.radioList = this.form.tags as any
|
|
|
|
|
|
this.form.xmlFileUrl = res.data.xmlFileUrl
|
|
|
this.form.accompanimentType = res.data.accompanimentType
|
|
@@ -152,7 +156,7 @@ export default defineComponent({
|
|
|
)
|
|
|
this.reason = res.data.reason
|
|
|
|
|
|
- console.log(this.form.bgmp3Url)
|
|
|
+ // console.log(this.form.bgmp3Url)
|
|
|
} catch (error) {
|
|
|
console.log(error)
|
|
|
}
|