mirror of
https://github.com/liriliri/eruda.git
synced 2026-04-01 10:18:35 +08:00
Dev: Improve table source display
This commit is contained in:
@@ -72,7 +72,13 @@ export default class Log
|
||||
|
||||
if (this._needSrc())
|
||||
{
|
||||
this.src = extractObj(args.length === 1 && util.isObj(args[0]) ? args[0] : args);
|
||||
if (type === 'table')
|
||||
{
|
||||
this.src = extractObj(args[0]);
|
||||
} else
|
||||
{
|
||||
this.src = extractObj(args.length === 1 && util.isObj(args[0]) ? args[0] : args);
|
||||
}
|
||||
}
|
||||
|
||||
let msg = '', icon;
|
||||
|
||||
Reference in New Issue
Block a user