From 69cd43786253e299f6856a200554ae7fc0621877 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 27 六月 2021 21:26:20 +0800 Subject: [PATCH] 2021-06-27 --- src/tabviews/custom/index.jsx | 15 ++++----------- 1 files changed, 4 insertions(+), 11 deletions(-) diff --git a/src/tabviews/custom/index.jsx b/src/tabviews/custom/index.jsx index 034d635..3fb37a5 100644 --- a/src/tabviews/custom/index.jsx +++ b/src/tabviews/custom/index.jsx @@ -497,19 +497,12 @@ return false } } - // 鎼滅储榛戝悕鍗曡繃婊� + + // 鎼滅储鏉′欢鍒濆鍖� if (item.search && item.search.length > 0) { - item.search = item.search.map(cell => { - cell.oriInitval = cell.initval - - if (!cell.blacklist || cell.blacklist.length === 0) return cell - if (cell.blacklist.filter(v => roleId.indexOf(v) > -1).length > 0) { - cell.Hide = 'true' - } - - return item - }) + item.search = Utils.initSearchVal(item.search) } + if (item.type === 'table' && item.subtype === 'normaltable') { let statFields = [] let getCols = (cols) => { -- Gitblit v1.8.0