king
2024-06-06 9be28daa8b377b054127fd78254dfa63d29e3a7b
src/tabviews/custom/components/card/data-card/index.jsx
@@ -189,7 +189,14 @@
    }
    if (_config.wrap.zHeight) {
      _config.wrap.zHeight = _config.wrap.zHeight <= 100 ? _config.wrap.zHeight + 'vh' : _config.wrap.zHeight
      if (_config.wrap.zHeight <= 100) {
        if (_config.wrap.zHeight < 0) {
          _config.wrap.zHeight = `calc(100vh - ${-_config.wrap.zHeight}px)`
        } else {
          _config.wrap.zHeight = _config.wrap.zHeight + 'vh'
        }
      }
      if (_config.style) {
        delete _config.style.height
      }