mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
修正Browser日志驱动
This commit is contained in:
@@ -138,8 +138,8 @@ JS;
|
||||
break;
|
||||
default:
|
||||
$m = is_string($key)? $key . ' ' . $m : $key+1 . ' ' . $m;
|
||||
$msg = str_replace(PHP_EOL, '\n', $m);
|
||||
$line[] = "console.log(\"{$msg}\");";
|
||||
$msg = json_encode($m);
|
||||
$line[] = "console.log({$msg});";
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user