NEZ-2651 fix:group 类型编辑时,类型不允许修改

This commit is contained in:
zyh
2023-03-08 14:43:28 +08:00
parent 8c80cce062
commit d56025d240

View File

@@ -18,10 +18,11 @@
class="form-item--half-width"
prop="type"
>
<!-- group 类型编辑时类型不允许修改 -->
<el-select
id="chart-box-type"
v-model="chartConfig.type"
:disabled="!!(chartConfig.type==='group'&&chartConfig.children&&chartConfig.children.length)"
:disabled="!!(chartConfig.type==='group'&&chartConfig.id)"
:placeholder="$t('el.select.placeholder')"
popper-class="right-box-select-top prevent-clickoutside"
size="small"