From 7ec82053855cf041ab2357a3b8c1684fcc6cc061 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期六, 04 三月 2023 00:41:17 +0800 Subject: [PATCH] 2023-03-04 --- src/tabviews/subtabtable/index.jsx | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/tabviews/subtabtable/index.jsx b/src/tabviews/subtabtable/index.jsx index c46137c..ef20200 100644 --- a/src/tabviews/subtabtable/index.jsx +++ b/src/tabviews/subtabtable/index.jsx @@ -213,6 +213,14 @@ item.$menuId = this.props.MenuID item.$old = true + if (item.controlField) { + if (/,/ig.test(item.controlVal)) { + item.controlVals = item.controlVal.split(',') + } else { + item.controlVals = [(item.controlVal || '')] + } + } + if (item.position === 'toolbar') { item.$toolbtn = true _actions.push(item) -- Gitblit v1.8.0