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/commontable/index.jsx | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/tabviews/commontable/index.jsx b/src/tabviews/commontable/index.jsx index fb62900..a1c9987 100644 --- a/src/tabviews/commontable/index.jsx +++ b/src/tabviews/commontable/index.jsx @@ -338,6 +338,14 @@ } } } + + 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 -- Gitblit v1.8.0