From 5bf4d4cb9339226fe5fae72fa200afbfa40aaf9d Mon Sep 17 00:00:00 2001 From: Shawnsdaddy Date: Fri, 27 May 2022 23:28:49 -0700 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E6=88=90=E4=B8=AD=E6=96=87=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../{CopilotJsonConverter.html => 自动战斗作业生成器.html} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename tools/CopilotDesinger/{CopilotJsonConverter.html => 自动战斗作业生成器.html} (99%) diff --git a/tools/CopilotDesinger/CopilotJsonConverter.html b/tools/CopilotDesinger/自动战斗作业生成器.html similarity index 99% rename from tools/CopilotDesinger/CopilotJsonConverter.html rename to tools/CopilotDesinger/自动战斗作业生成器.html index 7ff23a95ef..7498199820 100644 --- a/tools/CopilotDesinger/CopilotJsonConverter.html +++ b/tools/CopilotDesinger/自动战斗作业生成器.html @@ -538,7 +538,7 @@ var jsonString = JSON.stringify(obj); var jsonPretty = JSON.stringify(JSON.parse(jsonString), null, 4); var file = new Blob([jsonPretty], { type: 'text/plain' }); - var fileName = obj.stage_name + '.json'; + var fileName = obj.stage_name + '_' + opers.map(o => o.name).join('+') + '.json'; const url = window.URL.createObjectURL(file); const link = document.createElement('a'); link.href = url;