Merge pull request #8552 from dataease/pr@dev_color_tree

fix(过滤组件): 过滤组件全选颜色没有发生变更
This commit is contained in:
dataeaseShu 2024-03-18 09:55:53 +08:00 committed by GitHub
commit d70e8eb750
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 14 additions and 11 deletions

View File

@ -205,7 +205,7 @@ export default {
styleEle.id = `style${this.element.id}`
document.querySelector('head').appendChild(styleEle)
}
styleEle.innerHTML = `#component${this.element.id} .el-input__inner::placeholder {\n color: ${this.element.style.wordColor} \n }`
styleEle.innerHTML = `#component${this.element.id}.component-custom .el-input__inner::placeholder {\n color: ${this.element.style.wordColor}b3 \n }`
},
filterLoaded(p) {
this.$emit('filter-loaded', p)

View File

@ -52,7 +52,6 @@
class="tree-select-all"
><el-checkbox
v-model="selectAll"
v-customStyle="customStyle"
:indeterminate="isIndeterminate"
@change="selectAllChange"
>{{ $t('dataset.check_all') }}</el-checkbox></p>
@ -594,7 +593,6 @@ export default {
}
.tree-select-all {
padding: 10px 20px 0 24px;
}
.tree-select-all .el-checkbox__label {
color: var(--SelectTreeColor, #606266);

View File

@ -23,7 +23,7 @@
:indeterminate="isIndeterminate"
@change="selectAllChange"
>
<span :style="{ color: `${isConfig ? '#1F2329' : customStyle.wordColor} !important`}">{{ $t('dataset.check_all') }}</span>
<span :style="{ color: `${isConfig ? '#1F2329' : customStyle.wordColor}`}">{{ $t('dataset.check_all') }}</span>
</el-checkbox>
</p>
<el-option

View File

@ -70,7 +70,12 @@
<el-col :span="16">
<div class="filter-options-right">
<span style="padding-right: 10px;">
<span v-if="widget.name && ['textSelectWidget', 'textSelectGridWidget'].includes(widget.name)" style="padding-right: 10px;">
<el-checkbox
v-model="attrs.showEmpty"
>{{ $t('panel.show_empty') }}
</el-checkbox>
</span>
<el-checkbox
v-model="attrs.showTitle"
@change="showTitleChange"