From 7b0dbecd1d6155d26ec67be0a47a16264c738c85 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 09 五月 2023 14:48:10 +0800 Subject: [PATCH] 2023-05-09 --- src/tabviews/custom/popview/index.jsx | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/tabviews/custom/popview/index.jsx b/src/tabviews/custom/popview/index.jsx index 903d3c9..a48c356 100644 --- a/src/tabviews/custom/popview/index.jsx +++ b/src/tabviews/custom/popview/index.jsx @@ -365,7 +365,7 @@ // 鏉冮檺杩囨护 if (item.action && item.action.length > 0) { item.action = item.action.filter(cell => { - if (cell.hidden === 'true' || ['popview', 'funcbutton'].includes(cell.OpenType)) return false + if (cell.hidden === 'true' || cell.OpenType === 'popview') return false cell = this.resetButton(item, cell, Tab) cell.$toolbtn = true @@ -392,7 +392,7 @@ card.elements = card.elements.filter(cell => { if (cell.eleType === 'button') { - if (cell.hidden === 'true' || ['popview', 'funcbutton'].includes(cell.OpenType)) return false + if (cell.hidden === 'true' || cell.OpenType === 'popview') return false cell = this.resetButton(item, cell, Tab) @@ -413,7 +413,7 @@ card.backElements = card.backElements.filter(cell => { if (cell.eleType === 'button') { - if (cell.hidden === 'true' || ['popview', 'funcbutton'].includes(cell.OpenType)) return false + if (cell.hidden === 'true' || cell.OpenType === 'popview') return false cell = this.resetButton(item, cell, Tab) @@ -440,7 +440,7 @@ } item.elements = item.elements.filter(cell => { if (cell.eleType === 'button') { - if (cell.hidden === 'true' || ['popview', 'funcbutton'].includes(cell.OpenType)) return false + if (cell.hidden === 'true' || cell.OpenType === 'popview') return false cell = this.resetButton(item, cell, Tab) @@ -460,7 +460,7 @@ item.cols = item.cols.filter(col => { if (col.type !== 'action') return true col.elements = col.elements.filter(cell => { - if (cell.hidden === 'true' || ['popview', 'funcbutton'].includes(cell.OpenType)) return false + if (cell.hidden === 'true' || cell.OpenType === 'popview') return false cell = this.resetButton(item, cell, Tab) -- Gitblit v1.8.0