mirror of
https://github.com/liriliri/eruda.git
synced 2026-03-20 09:38:37 +08:00
Fix: Json viewer array
This commit is contained in:
@@ -88,7 +88,7 @@ function createEl(key, val, map, firstLevel = false)
|
||||
{
|
||||
type = 'array';
|
||||
let lastVal = util.last(val);
|
||||
if (util.isStr(val) && util.startWith(lastVal, 'erudaJson')) id = lastVal;
|
||||
if (util.isStr(lastVal) && util.startWith(lastVal, 'erudaJson')) id = lastVal;
|
||||
}
|
||||
|
||||
function wrapKey(key)
|
||||
|
||||
Reference in New Issue
Block a user