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) {