From 1dba36a6d91b2caa3f6ba2f34d18ecf8bff98c93 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Wed, 3 Apr 2024 10:08:29 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=BF=87=E6=BB=A4=E7=BB=84=E4=BB=B6):=20?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E4=B8=8B=E6=8B=89=E7=BB=84=E4=BB=B6=E8=83=8C?= =?UTF-8?q?=E6=99=AF=E6=A0=B7=E5=BC=8F=E6=97=A0=E6=B3=95=E7=AB=8B=E5=8D=B3?= =?UTF-8?q?=E7=94=9F=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/frontend/src/components/widget/deWidget/DeRadio.vue | 2 +- core/frontend/src/components/widget/deWidget/inputStyleMixin.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/core/frontend/src/components/widget/deWidget/DeRadio.vue b/core/frontend/src/components/widget/deWidget/DeRadio.vue index bbbbbc6b00..ef1e9ee04d 100644 --- a/core/frontend/src/components/widget/deWidget/DeRadio.vue +++ b/core/frontend/src/components/widget/deWidget/DeRadio.vue @@ -123,7 +123,7 @@ export default { styleEle.id = `radio-style${this.id}`; document.querySelector("head").appendChild(styleEle); } - styleEle.innerHTML = `#component${this.id} {\n background-color: transparent !important; \n } #component${this.id} .el-radio-button:not(.is-active) .el-radio-button__inner {\n color: ${this.radioStyle.wordColor}; \n border-color: ${this.radioStyle.brColor}; \n background-color: ${this.radioStyle.innerBgColor}; \n } #component${this.id} .el-radio:not(.is-check) .el-radio__label {\n color: ${this.radioStyle.wordColor}; \n }`; + styleEle.innerHTML = `#component${this.id} .el-radio-button:not(.is-active) .el-radio-button__inner {\n color: ${this.radioStyle.wordColor}; \n border-color: ${this.radioStyle.brColor}; \n background-color: ${this.radioStyle.innerBgColor}; \n } #component${this.id} .el-radio:not(.is-check) .el-radio__label {\n color: ${this.radioStyle.wordColor}; \n }`; }, resetList(arrays) { if (Array.isArray(arrays)) { diff --git a/core/frontend/src/components/widget/deWidget/inputStyleMixin.js b/core/frontend/src/components/widget/deWidget/inputStyleMixin.js index 17ad325953..a8efb743b8 100644 --- a/core/frontend/src/components/widget/deWidget/inputStyleMixin.js +++ b/core/frontend/src/components/widget/deWidget/inputStyleMixin.js @@ -67,7 +67,6 @@ export default { }, methods: { handlerInputStyle(type, newValue) { - if (this.element.style.showMode && this.element.style.showMode === 'radio') return let nodeCache = '' this.styleAttrs.forEach(ele => { if (!nodeCache) {