From 901c0e31eda7d69da5c8230a5b3a8ddc88b36a1a Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期日, 01 十月 2023 18:48:41 +0800
Subject: [PATCH] Merge branch 'positec' into bms

---
 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