mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-10 00:22:48 +08:00
改进trace驱动
This commit is contained in:
@@ -137,7 +137,7 @@ JS;
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case '错误':
|
case '错误':
|
||||||
$msg = str_replace("\n", '\n', $m);
|
$msg = str_replace("\n", '\n', json_encode($m));
|
||||||
$style = 'color:#F4006B;font-size:14px;';
|
$style = 'color:#F4006B;font-size:14px;';
|
||||||
$line[] = "console.error(\"%c{$msg}\", \"{$style}\");";
|
$line[] = "console.error(\"%c{$msg}\", \"{$style}\");";
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user