修复 在魅族设备时部分输入框崩溃的问题

This commit is contained in:
hyb1996
2018-11-20 23:23:03 +08:00
parent 0f4f1da208
commit 3835c9d4a9
12 changed files with 96 additions and 78 deletions

View File

@@ -0,0 +1,7 @@
console.setGlobalLogConfig({
file: "/sdcard/log.txt"
});
console.log(1);
console.log(2);
console.error(3);
app.viewFile("/sdcard/log.txt");

View File

@@ -6,3 +6,9 @@ console.log("这是黑色");
console.info("这是红色");
console.warn("这是蓝色");
console.error("这是绿色=_=");
hey();
function hey() {
console.trace("打印日志行数");
}