fix: 修改下弹窗显示错误的问题

This commit is contained in:
zhangyu
2021-12-16 19:50:23 +08:00
parent 424663eb57
commit 44bb4ab27c
8 changed files with 133 additions and 36 deletions

View File

@@ -21,7 +21,7 @@
<el-select
id="chart-box-type"
v-model="chartConfig.type"
:disabled="chartConfig.type==='group'&&chartConfig.children&&chartConfig.children.length"
:disabled="!!(chartConfig.type==='group'&&chartConfig.children&&chartConfig.children.length)"
:placeholder="$t('el.select.placeholder')"
popper-class="right-box-select-top prevent-clickoutside"
size="small"
@@ -30,7 +30,7 @@
<el-option
v-for="item in chartTypeList"
:key="item.id"
:disabled="item.id==='group' && chartConfig.isGroup"
:disabled="item.id==='group' && !!chartConfig.groupId"
:label="item.name"
:value="item.id">
<span class="panel-dropdown-label-txt" >{{item.name}}</span>