From a65eb1aa996137ebfb1730da50f6f6abd2cdda70 Mon Sep 17 00:00:00 2001 From: hades Date: Thu, 5 May 2022 16:31:49 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-70665=2011.0.3.1=E8=AE=BE=E8=AE=A1?= =?UTF-8?q?=E5=99=A8=20=E6=8D=A2=E6=9C=80=E6=96=B0feature=E5=8C=85?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E5=90=AF=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/fr/start/module/DesignerStartup.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/designer-realize/src/main/java/com/fr/start/module/DesignerStartup.java b/designer-realize/src/main/java/com/fr/start/module/DesignerStartup.java index 695e8d8f22..da8b559e8d 100644 --- a/designer-realize/src/main/java/com/fr/start/module/DesignerStartup.java +++ b/designer-realize/src/main/java/com/fr/start/module/DesignerStartup.java @@ -169,6 +169,8 @@ public class DesignerStartup extends Activator { DaoSelectorFactory.registerDaoSelector(() -> DesignerEnvManager.getEnvManager().isPropertiesUsable() && OptimizeUtil.isOpen() && existPropCache + // demo启动时 前后目录可能会不一致 造成读取缓存失败 + && !startupArgsValue.getValue().isDemo() && !new File(dbConfigPath).exists()); }