diff --git a/src/Console/Log.es6 b/src/Console/Log.es6 index 2af7392..7665514 100644 --- a/src/Console/Log.es6 +++ b/src/Console/Log.es6 @@ -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; diff --git a/test/manual.html b/test/manual.html index a2d934d..6434ac2 100644 --- a/test/manual.html +++ b/test/manual.html @@ -4,10 +4,40 @@