优化通道

master
fanluyan 2 years ago
parent 9e6d856fea
commit 8611a599d6

@ -121,7 +121,11 @@
:command="item.value" :command="item.value"
v-for="(item, index) in channelOption" v-for="(item, index) in channelOption"
:key="index" :key="index"
>{{ item.label }}</el-dropdown-item >{{
item.alias !== null && item.alias !== ""
? item.alias
: item.label
}}</el-dropdown-item
> >
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
@ -138,7 +142,11 @@
:command="item.value" :command="item.value"
v-for="(item, index) in channelOption" v-for="(item, index) in channelOption"
:key="index" :key="index"
>{{ item.label }}</el-dropdown-item >{{
item.alias !== null && item.alias !== ""
? item.alias
: item.label
}}</el-dropdown-item
> >
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
@ -392,6 +400,7 @@ export default {
label: item.channelname, label: item.channelname,
value: item.channelid, value: item.channelid,
termid: item.termId, termid: item.termId,
alias: item.alias,
}); });
this.channelValue.push(item.channelid); // this.channelValue.push(item.channelid); //
}); // select }); // select

Loading…
Cancel
Save