Merge pull request #295 from dataease/pr@dev@refactor_颜色选择器更换element自带组件

refactor: 颜色选择器更换element自带组件
This commit is contained in:
XiaJunjie2020 2021-07-22 18:32:11 +08:00 committed by GitHub
commit e4ccd75c68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@
<el-radio v-model="panel.backgroundType" label="color" @change="onChangeType">{{ $t('chart.color') }}</el-radio> <el-radio v-model="panel.backgroundType" label="color" @change="onChangeType">{{ $t('chart.color') }}</el-radio>
</el-col> </el-col>
<el-col :span="18"> <el-col :span="18">
<colorPicker v-model="panel.color" style="margin-top: 6px;cursor: pointer;z-index: 1004;border: solid 1px black" /> <el-color-picker v-model="panel.color" style="cursor: pointer;z-index: 1004;" />
</el-col> </el-col>
</el-row> </el-row>
<el-row style="height: 60px;margin-top:10px;overflow: hidden"> <el-row style="height: 60px;margin-top:10px;overflow: hidden">