console colors only in debug mode. fix grid local target format
This commit is contained in:
parent
0f1768fd4b
commit
ccaa58dd91
2 changed files with 7 additions and 2 deletions
|
|
@ -13,7 +13,12 @@ Array.prototype.appendAll = function(a) {
|
|||
|
||||
const helper = {
|
||||
log: function() {
|
||||
console.log(moment().format('YYMMDD.HHmmss'), [...arguments].map(v => util.inspect(v, {breakLength:Infinity, colors:true})).join(' '));
|
||||
console.log(
|
||||
moment().format('YYMMDD.HHmmss'),
|
||||
[...arguments]
|
||||
.map(v => util.inspect(v, {breakLength:Infinity, colors:clearJS}))
|
||||
.join(' ')
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@
|
|||
<span><label>grid:local</label></span>
|
||||
<div>
|
||||
<table>
|
||||
<tr><th>target</th><td><select id="grid-local"></select></td></tr>
|
||||
<tr><th>target</th><td width="100%"><select id="grid-local"></select></td></tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="flex fcol print-send">
|
||||
|
|
|
|||
Loading…
Reference in a new issue