From cc810edac6aec3c858fb352091ad8c11332447a5 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 10 十二月 2023 19:12:53 +0800 Subject: [PATCH] Merge branch 'develop' --- src/tabviews/basetable/index.jsx | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/src/tabviews/basetable/index.jsx b/src/tabviews/basetable/index.jsx index 8665c82..f2dd7d0 100644 --- a/src/tabviews/basetable/index.jsx +++ b/src/tabviews/basetable/index.jsx @@ -409,6 +409,11 @@ } } } + + if (cell.marks && cell.marks.length === 0) { + cell.marks = null + } + return true }) @@ -422,6 +427,10 @@ col.linkThdMenu = window.GLOB.mkThdMenus.get(menu_id) || '' } else { col.linkThdMenu = '' + } + + if (col.marks && col.marks.length === 0) { + col.marks = null } return true @@ -496,6 +505,16 @@ } } + if (cell.verify && cell.verify.preHandle === 'true') { + try { + // eslint-disable-next-line + let func = new Function('btn', 'systemType', cell.verify.pre_func) + func(cell, window.GLOB.systemType) + } catch (e) { + console.warn(e) + } + } + if (cell.syncComponentId) { if (cell.syncComponentId === item.setting.supModule) { cell.syncComponentId = '' -- Gitblit v1.8.0