From 3496be472f0a4bc8db708976ae683085daa4534d Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期日, 01 十月 2023 18:45:43 +0800
Subject: [PATCH] Merge branch 'develop'

---
 src/tabviews/custom/popview/index.jsx |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/tabviews/custom/popview/index.jsx b/src/tabviews/custom/popview/index.jsx
index 2c36b13..d9fb7ac 100644
--- a/src/tabviews/custom/popview/index.jsx
+++ b/src/tabviews/custom/popview/index.jsx
@@ -125,7 +125,7 @@
 
     if (Tab.$process && window.GLOB.UserCacheMap.has(Tab.$flowId)) {
       let flow = window.GLOB.UserCacheMap.get(Tab.$flowId)
-      regs.push({ reg: /@works_flow_code@/ig, value: flow.flow_code || '' })
+      regs.push({ reg: /@works_flow_code@/ig, value: `'${flow.flow_code || ''}'` })
     }
 
     config.components = this.filterComponent(config.components, roleId, balMap, param, Tab, Tab.uuid, Tab.uuid)
@@ -158,7 +158,7 @@
 
     config.components = this.formatSetting(config.components, params, regs, balMap)
 
-    if ([...balMap.keys()].length > 0) {
+    if (balMap.size > 0) {
       config.components = this.filterBalcony(config.components, balMap)
     }
 

--
Gitblit v1.8.0