mirror of
https://github.com/liriliri/eruda.git
synced 2026-03-24 09:48:37 +08:00
fix: JsonViewer
This commit is contained in:
@@ -27,7 +27,7 @@ export default class JsonViewer {
|
||||
if (isObj(data) && isUndef(data.type) && isUndef(data.id)) {
|
||||
data = JSON.parse(
|
||||
stringifyAll(data, {
|
||||
ignore: [Object.prototype]
|
||||
ignore: [Object.prototype, Array.prototype]
|
||||
})
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user