From a82d726906f0264b96a5b1a82d932d0c3c38714e Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 05 一月 2021 18:30:21 +0800 Subject: [PATCH] 2021-01-05 --- src/tabviews/custom/index.jsx | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/tabviews/custom/index.jsx b/src/tabviews/custom/index.jsx index 199533b..10940f8 100644 --- a/src/tabviews/custom/index.jsx +++ b/src/tabviews/custom/index.jsx @@ -253,6 +253,7 @@ item.action = item.action.filter(cell => { cell.logLabel = item.name + '-' + cell.label cell.ContainerId = this.state.ContainerId + cell.$menuId = item.uuid return permAction[cell.uuid] }) @@ -271,6 +272,7 @@ cell.logLabel = item.name + '-' + cell.label cell.Ot = 'requiredSgl' cell.ContainerId = this.state.ContainerId + cell.$menuId = item.uuid } else if (['text', 'number', 'link'].includes(cell.eleType) && !cell.height && _hasheight) { cell.innerHeight = 'auto' } @@ -282,6 +284,7 @@ cell.logLabel = item.name + '-' + cell.label cell.Ot = 'requiredSgl' cell.ContainerId = this.state.ContainerId + cell.$menuId = item.uuid } else if (['text', 'number', 'link'].includes(cell.eleType) && !cell.height && _hasheight) { cell.innerHeight = 'auto' } @@ -296,6 +299,7 @@ cell.logLabel = item.name + '-' + cell.label cell.Ot = 'requiredSgl' cell.ContainerId = this.state.ContainerId + cell.$menuId = item.uuid } else if (['text', 'number', 'link'].includes(cell.eleType) && !cell.height && _hasheight) { cell.innerHeight = 'auto' } @@ -309,6 +313,8 @@ cell.logLabel = item.name + '-' + cell.label cell.Ot = 'requiredSgl' cell.ContainerId = this.state.ContainerId + cell.$menuId = item.uuid + return permAction[cell.uuid] }) return col.elements.length !== 0 @@ -318,6 +324,7 @@ if (item.action && item.action.length > 0) { item.action = item.action.map(cell => { cell.logLabel = item.name + '-' + cell.label + cell.$menuId = item.uuid return cell }) } -- Gitblit v1.8.0