SimulatedGREG/electron-vue

console.log from main process doesn't print CJK characters

Open

#605 建立於 2018年5月4日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)JavaScript (1,586 fork)batch import
bughelp wanted

倉庫指標

Star
 (15,445 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

"console.log" Chinese, Japanese in main process, cannot print.

Describe the issue / bug.

#

in "https://github.com/SimulatedGREG/electron-vue/tree/master/template/.electron-vue/dev-runner.js" line: 137


137: if (/[0-9A-z]+/.test(log)) {
   ....
}

log print english or number only.

Change


if (/[0-9A-z]+/.test(log)) {
   ....
}

to


if (log) {
   ....
}

or remove can fix it.

貢獻者指南