From 63a40e3da5f24b449122fb8b50c16dcbf69d5907 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 06 三月 2023 09:22:43 +0800 Subject: [PATCH] Merge branch 'master' into positec --- 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