From f27a8b912aaa86e4bc90a22643a2d95bf4ffd432 Mon Sep 17 00:00:00 2001 From: sinvo Date: Fri, 20 Mar 2026 09:02:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=AD=90=E7=A8=8B=E5=BA=8F?= =?UTF-8?q?=E8=B0=83=E7=94=A8=EF=BC=9A=E7=94=A8RunSpAsync=E4=BC=A0Dictiona?= =?UTF-8?q?ry=E5=8F=82=E6=95=B0=EF=BC=8C=E7=AA=97=E5=8F=A3=E4=B8=8D?= =?UTF-8?q?=E5=85=B3=E9=97=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 --- CamScanner.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CamScanner.cs b/CamScanner.cs index a422e90..d3748fc 100644 --- a/CamScanner.cs +++ b/CamScanner.cs @@ -1043,9 +1043,9 @@ public class ScannerForm : Form lblStatus.Text = string.Format("完成!已保存: {0}", Path.GetFileName(outputPath)); // 调用子程序 "over",传参 files 为输出文件路径 - _context.SetVarValue("files", outputPath); - _context.SetVarValue("over", true); - this.Close(); + var param = new Dictionary(); + param.Add("files", outputPath); + _context.RunSpAsync("over", param); } catch (Exception ex) {