From 437c6d72f76072e5ab1b09e78101370805113c4b Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期日, 01 十月 2023 18:46:37 +0800
Subject: [PATCH] Merge branch 'master' into positec

---
 src/tabviews/basetable/index.jsx |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/tabviews/basetable/index.jsx b/src/tabviews/basetable/index.jsx
index ce12936..2999c50 100644
--- a/src/tabviews/basetable/index.jsx
+++ b/src/tabviews/basetable/index.jsx
@@ -112,7 +112,6 @@
             config.flow_code = result.works_flow_code
             config.flow_name = result.works_flow_name
             unset = false
-            
             window.GLOB.UserCacheMap.set('flow' + MenuID, flowConfig)
           } catch (e) {
             unset = true
@@ -191,7 +190,7 @@
       }
 
       if (config.flow_code) {
-        regs.push({ reg: /@works_flow_code@/ig, value: config.flow_code })
+        regs.push({ reg: /@works_flow_code@/ig, value: `'${config.flow_code}'` })
       }
 
       config.components = this.filterComponent(config.components, roleId, window.GLOB.mkActions, skip, param, MenuID, config.MenuName, config.process === 'true')

--
Gitblit v1.8.0