fix: 过滤器编辑面板参数第一次不能显示

This commit is contained in:
fit2cloud-chenyw 2022-06-30 12:23:33 +08:00
parent cb2697eee5
commit 87cd232cb1
2 changed files with 3 additions and 2 deletions

View File

@ -293,7 +293,8 @@ export default {
myAttrs: null, myAttrs: null,
childViews: { childViews: {
viewInfos: [] viewInfos: [],
datasetParams: []
}, },
currentElement: null, currentElement: null,
allFields: [], allFields: [],

View File

@ -64,7 +64,7 @@
/> />
</el-popover> </el-popover>
</span> </span>
<span v-show="element.component === 'de-select'" style="padding-left: 10px;"> <span v-if="element.component === 'de-select'" style="padding-left: 10px;">
<el-checkbox v-model="attrs.enableParameters" @change="enableParametersChange"><span> <el-checkbox v-model="attrs.enableParameters" @change="enableParametersChange"><span>
{{ $t('panel.binding_parameters') }} </span> </el-checkbox> {{ $t('panel.binding_parameters') }} </span> </el-checkbox>