From 74e440ccf85cc809c1b4fb3161ffcd3422ae2575 Mon Sep 17 00:00:00 2001 From: freefire <97975089@qq.com> Date: Tue, 14 Jan 2025 00:15:08 +0800 Subject: [PATCH] =?UTF-8?q?add=20=E9=94=99=E8=AF=AF=E6=8F=90=E7=A4=BA?= =?UTF-8?q?=E8=BE=93=E5=87=BA=E5=88=B0=E6=97=A5=E5=BF=97=E6=A1=86=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.aardio | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/main.aardio b/main.aardio index 67ca479..221a6f7 100644 --- a/main.aardio +++ b/main.aardio @@ -60,14 +60,16 @@ mainForm.btnSelectFile.oncommand = function(id, event) { mainForm.btnRun.oncommand = function(id, event) { var inputFilePath = mainForm.inputFile.text; if (!inputFilePath) { - console.log("请先选择输入文件!"); + mainForm.editConsole.appendLink('\r\n'); + mainForm.editConsole.appendText( textColor = 0xC7C7FF, point = 10, "请先选择输入文件!"); return; } // 弹出保存文件对话框,选择PDF保存路径 var outputFilePath = fsys.dlg.save("PDF 文件|*.pdf||",, "选择保存路径"); if (!outputFilePath) { - console.log("请选择PDF文件的保存路径!"); + mainForm.editConsole.appendLink('\r\n'); + mainForm.editConsole.appendText( textColor = 0xC7C7FF, point = 10, "请选择PDF文件的保存路径!"); return; }