feat: 修改自定义控制范围样式

This commit is contained in:
fit2cloud-chenyw 2021-04-22 15:36:00 +08:00
parent 89370df958
commit ef5eab2e19

View File

@ -179,7 +179,7 @@
> >
<div class="view-container-class"> <div class="view-container-class">
<el-checkbox-group v-model="checkedViews" @change="checkedViewsChange"> <el-checkbox-group v-model="checkedViews" @change="checkedViewsChange">
<el-checkbox v-for="(item ) in viewInfos" :key="item.id" :label="item.id" border> <el-checkbox v-for="(item ) in viewInfos" :key="item.id" :label="item.id">
<span> <span>
<svg-icon :icon-class="item.type" class="chart-icon" /> <svg-icon :icon-class="item.type" class="chart-icon" />
<span style="margin-left: 6px">{{ item.name }}</span> <span style="margin-left: 6px">{{ item.name }}</span>
@ -658,6 +658,7 @@ export default {
position: relative; position: relative;
>>> label { >>> label {
width: 100%; width: 100%;
margin-left: 0px !important;
} }
} }