fix: JsonViewer

This commit is contained in:
redhoodsu
2019-08-07 14:54:51 +08:00
parent ee23a39dfc
commit 31554e4744

View File

@@ -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]
})
)
}