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/custom/index.jsx | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tabviews/custom/index.jsx b/src/tabviews/custom/index.jsx index 7eb85d2..e4f0f5a 100644 --- a/src/tabviews/custom/index.jsx +++ b/src/tabviews/custom/index.jsx @@ -232,7 +232,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.$cache = config.cacheLocal === 'true' @@ -278,7 +278,7 @@ config.components = this.formatSetting(config.components, params, inherit, regs, balMap) - if ([...balMap.keys()].length > 0) { + if (balMap.size > 0) { config.components = this.filterBalcony(config.components, balMap) } -- Gitblit v1.8.0