fix: 仪表板组件title更改 checkbox改成开关

This commit is contained in:
dataeaseShu 2022-10-31 16:41:22 +08:00
parent c839f16d79
commit c082f515cc
2 changed files with 4 additions and 4 deletions

View File

@ -12,10 +12,10 @@
:label="$t('chart.show')"
class="form-item"
>
<el-checkbox
<el-switch
v-model="titleForm.show"
@change="changeTitleStyle('show')"
>{{ $t('chart.show') }}</el-checkbox>
/>
</el-form-item>
<div v-show="showProperty('show') && titleForm.show">
<el-form-item

View File

@ -11,10 +11,10 @@
:label="$t('chart.show')"
class="form-item"
>
<el-checkbox
<el-switch
v-model="titleForm.show"
@change="changeTitleStyle('show')"
>{{ $t('chart.show') }}</el-checkbox>
/>
</el-form-item>
<div v-show="titleForm.show">
<el-form-item