Merge pull request #3512 from dataease/pr@dev@fix_gradient_color

fix(地图): 渐变色设置不可清除
This commit is contained in:
dataeaseShu 2022-10-28 12:29:10 +08:00 committed by GitHub
commit f9f5e3a2e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -106,6 +106,7 @@
<el-color-picker
v-else
v-model="option.colors[index]"
popper-class="gradient-picker-dropdown"
@change="switchColorItem(option.colors, option.value)"
/>
</span>
@ -423,4 +424,7 @@ export default {
width: 20px;
height: 20px;
}
.gradient-picker-dropdown .el-color-dropdown__link-btn {
display: none;
}
</style>