From 04cc41079d0b89aeb730efef0f445f38be96d7a0 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Wed, 6 Sep 2017 19:39:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=A0=87=E9=A2=98=E5=B8=A6?= =?UTF-8?q?=E6=8D=A2=E8=A1=8C=E7=AC=A6=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/compile.js | 1 + 1 file changed, 1 insertion(+) diff --git a/build/compile.js b/build/compile.js index 34da279e9f..386826a3f4 100644 --- a/build/compile.js +++ b/build/compile.js @@ -266,6 +266,7 @@ function CreateDatajs(dt_path,callback){ var title = str.match(/[^===]+(?=[===])/g); title = title[0]?title[0].replace(/\n/g,''):title[0]; + title = title.replace(/\r/,'') // 命令名称 json["n"] = title; // 命令路径