From bb592170c6bf2f2b9ebb19cc8b227517e3139132 Mon Sep 17 00:00:00 2001 From: codeboss <2422523675@qq.com> Date: Wed, 5 Mar 2025 23:32:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=83=85=E8=8A=82=E9=93=BE?= =?UTF-8?q?=E6=9D=A1=E6=96=AD=E6=8E=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AstConv/HtmlStruct.fs | 3 +-- AstConv/Properties/launchSettings.json | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/AstConv/HtmlStruct.fs b/AstConv/HtmlStruct.fs index 063a5f6..228f2a6 100644 --- a/AstConv/HtmlStruct.fs +++ b/AstConv/HtmlStruct.fs @@ -3,7 +3,6 @@ open AstAccess open System.Xml open System -open System.Xml.Linq open System.IO /// 展现节点 ========================================================================================= @@ -1072,7 +1071,7 @@ open System.IO | :? AstImport.SliceDef as defs -> let points = defs.children()|> List.filter(fun d -> not(d :? AstImport.TextItem)) match points with - | [] -> [] + | [] -> slice_combine(items.Tail) | _ -> (points.Head, points.Item(points.Length-1))::slice_combine(items.Tail) | :? AstImport.StoryDef as defs -> diff --git a/AstConv/Properties/launchSettings.json b/AstConv/Properties/launchSettings.json index 79fd873..fe1ae1c 100644 --- a/AstConv/Properties/launchSettings.json +++ b/AstConv/Properties/launchSettings.json @@ -2,7 +2,7 @@ "profiles": { "AstConv": { "commandName": "Project", - "commandLineArgs": "-file \"E:/storyline.xast\" -odir \"E:/diro\"" + "commandLineArgs": "-file \"E:/storyline.xast\" -odir \"E:/\"" } } } \ No newline at end of file