king
2021-07-29 9e39c53e5cec0f5a98a2d805aeda7c2d87060633
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 => {