Merge pull request #8896 from dataease/pr@dev_bug_fix

fix(过滤组件): 修复radio组件在深色主题看不见的问题
This commit is contained in:
dataeaseShu 2024-04-02 18:24:30 +08:00 committed by GitHub
commit b4063c5191
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -8,6 +8,7 @@
<el-radio
:key="item.id + 'radio'"
:label="item.text"
class="is-custom-select"
:value="item.id"
v-if="radioStyle.showStyle === 'single'"
:disabled="itemDisabled"
@ -16,6 +17,7 @@
v-else
:disabled="itemDisabled"
:key="item.id + 'tab'"
class="is-custom-select"
:label="item.text"
:value="item.id"
/>

View File

@ -833,7 +833,7 @@ div:focus {
color: #1F2329 !important;
}
.el-radio__input.is-checked:not(.is-disabled)+.el-radio__label {
.el-radio:not(.is-custom-select) .el-radio__input.is-checked:not(.is-disabled)+.el-radio__label {
color: var(--deTextPrimary, #1F2329) !important;
}