From a9b02f6862522b54d0824152017bf2acfec2af7b Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 21 三月 2024 10:29:50 +0800 Subject: [PATCH] 2024-03-21 --- src/tabviews/custom/components/card/data-card/index.jsx | 12 +++++------- 1 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/tabviews/custom/components/card/data-card/index.jsx b/src/tabviews/custom/components/card/data-card/index.jsx index d11af8d..9bc199c 100644 --- a/src/tabviews/custom/components/card/data-card/index.jsx +++ b/src/tabviews/custom/components/card/data-card/index.jsx @@ -134,7 +134,7 @@ _config.wrap.scale = _config.wrap.scale === 'true' ? 'scale' : '' _config.wrap.layout = (_config.wrap.layout || 'grid') + '-layout float-' + (_config.wrap.cardFloat || 'left') - _config.wrap.wrapClass = `${_config.wrap.selStyle} ${_config.wrap.cardType || ''} ${_config.wrap.scale}` + _config.wrap.wrapClass = `${_config.wrap.selStyle} ${_config.wrap.cardType || ''} ${_config.wrap.scale} ${config.wrap.hover === 'true' ? 'mk-hover' : ''}` if (_config.wrap.shifting === 'true') { _config.wrap.shifting = 'shifting' @@ -790,13 +790,11 @@ let _orderBy = orderBy || config.setting.order || '' let param = UtilsDM.getQueryDataParams(config.setting, searches, _orderBy, pageIndex, pageSize, BID) - if (param.func === 'sPC_Get_TableData') { - this.requestId = param.timestamp - } + this.requestId = config.uuid + new Date().getTime() - let result = await Api.genericInterface(param) + let result = await Api.genericInterface(param, '', '', this.requestId) if (result.status) { - if (result.timestamp_back && this.requestId !== result.timestamp_back) return + if (result.$requestId && this.requestId !== result.$requestId) return let start = 1 if (config.setting.laypage) { @@ -1253,7 +1251,7 @@ let className = 'mk-card ' if (config.wrap.parity === 'true') { if (index % 2 === 1) { - className += 'mk-parity-bg ' + className += 'mk-even-line ' } } if (item.$disabled) { -- Gitblit v1.8.0