From 9e39c53e5cec0f5a98a2d805aeda7c2d87060633 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 29 七月 2021 15:18:12 +0800 Subject: [PATCH] 2021-07-29 --- src/tabviews/custom/index.jsx | 16 +++++++++++++--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/src/tabviews/custom/index.jsx b/src/tabviews/custom/index.jsx index 8cf4cc6..4b084e0 100644 --- a/src/tabviews/custom/index.jsx +++ b/src/tabviews/custom/index.jsx @@ -439,6 +439,14 @@ filterComponent = (components, roleId, permAction, permMenus) => { return components.filter(item => { + + if (item.style && item.style.boxShadow) { + delete item.style.hShadow + delete item.style.vShadow + delete item.style.shadowBlur + delete item.style.shadowColor + } + if (item.type === 'tabs') { if ( item.setting.blacklist && item.setting.blacklist.length > 0 && @@ -572,9 +580,11 @@ item.subcards && item.subcards.forEach(card => { let _hasheight = card.style.height && card.style.height !== 'auto' - if (card.style.shadow) { // 鍗$墖闃村奖 - card.style.boxShadow = '0 0 4px ' + card.style.shadow - delete card.style.shadow + if (card.style.boxShadow) { + delete card.style.hShadow + delete card.style.vShadow + delete card.style.shadowBlur + delete card.style.shadowColor } card.elements = card.elements.filter(cell => { -- Gitblit v1.8.0