style: 去除无用属性名,调整metrics,logs页面主题颜色

This commit is contained in:
@changcode
2021-11-30 16:08:02 +08:00
parent 1f0fc53526
commit 8bdfd769ec
23 changed files with 49 additions and 78 deletions

View File

@@ -165,8 +165,6 @@
v-model="editChart.param.time"
:active-value="true"
:inactive-value="false"
active-icon-class="switch-open"
inactive-icon-class="switch-shut"
size="small"></el-switch>
</el-form-item>
<el-form-item class="form-item--half-width" v-if="editChart.type == 'logs'" :label='$t("dashboard.panel.chartForm.descending")' prop="param.descending">
@@ -174,8 +172,6 @@
v-model="editChart.param.descending"
:active-value="true"
:inactive-value="false"
active-icon-class="switch-open"
inactive-icon-class="switch-shut"
size="small"></el-switch>
</el-form-item>
<el-form-item class="form-item--half-width" v-if="editChart.type == 'logs'" :label='$t("dashboard.panel.chartForm.wrapLines")' prop="param.wrapLines">
@@ -183,8 +179,6 @@
v-model="editChart.param.wrapLines"
:active-value="true"
:inactive-value="false"
active-icon-class="switch-open"
inactive-icon-class="switch-shut"
size="small"></el-switch>
</el-form-item>
</div>
@@ -328,8 +322,6 @@
<el-switch
:id="'chart-box-legendValue-'+item.label"
v-model="editChart.param.legendValue[item.key]"
active-icon-class="switch-open"
inactive-icon-class="switch-shut"
active-value="on"
inactive-value="off"
>