diff --git a/designer-realize/src/main/java/com/fr/design/deeplink/DeepLinkManager.java b/designer-realize/src/main/java/com/fr/design/deeplink/DeepLinkManager.java index a1de69db4f..9cef24dcc8 100644 --- a/designer-realize/src/main/java/com/fr/design/deeplink/DeepLinkManager.java +++ b/designer-realize/src/main/java/com/fr/design/deeplink/DeepLinkManager.java @@ -138,7 +138,7 @@ public class DeepLinkManager { public String[] createNewArgs(String[] args) { String filePath = this.pendingURL; if (OperatingSystem.isMacos() && StringUtils.isNotEmpty(filePath) && new File(filePath).exists()) { - List argList = Arrays.asList(args); + List argList = new ArrayList<>(Arrays.asList(args)); argList.add(filePath); markPendingURLConsumed(); return argList.toArray(new String[]{});