From 3e12cfd0b82a2f4efc1592a4513cfe0f8b97ca33 Mon Sep 17 00:00:00 2001 From: ckcz123 Date: Fri, 22 Feb 2019 13:27:40 +0800 Subject: [PATCH] fix log --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index aa3b6d8e..802e058b 100644 --- a/main.js +++ b/main.js @@ -316,7 +316,7 @@ main.prototype.setMainTipsText = function (text) { main.prototype.log = function (e) { if (e) { if (main.core && main.core.platform && !main.core.platform.isPC) { - console.log((e.stack || e.toString()).replace("\n", " --- ")); + console.log((e.stack || e.toString())); } else { console.log(e);