Commit 0cc402e4 authored by 黎博's avatar 黎博

fix bug

parent 94fdd0de
...@@ -364,6 +364,11 @@ export default { ...@@ -364,6 +364,11 @@ export default {
getChannelDetail({ channelId: val.channelId }).then((res) => { getChannelDetail({ channelId: val.channelId }).then((res) => {
if (res.data) { if (res.data) {
this.channel = res.data this.channel = res.data
console.log(res.data)
if (this.channel.applyConf.length === 0) {
this.selectConf = this.channel.applyConf
return
}
this.firstApplyConf = this.channel.applyConf[0] this.firstApplyConf = this.channel.applyConf[0]
if (this.channel.applyConf.length >= 2) { if (this.channel.applyConf.length >= 2) {
this.secondApplyConf = this.channel.applyConf[1] this.secondApplyConf = this.channel.applyConf[1]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment